• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

atoum / atoum / 1988
83%
master: 85%

Build:
Build:
LAST BUILD BRANCH: 3.x
DEFAULT BRANCH: master
Ran 13 Oct 2017 07:12AM UTC
Jobs 5
Files 258
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1988

push

travis-ci

Hywan
Open the visibility of virtual hooks.

Based on the [PHPUnit's
documentation](https://phpunit.de/manual/current/en/fixtures.html#fixtures.more-setup-than-teardown):

> The `setUp()` and `tearDown()` template methods are run once for each
> test method (and on fresh instances) of the test case class.
>
> In addition, the `setUpBeforeClass()` and `tearDownAfterClass()`
> template methods are called before the first test of the test case
> class is run and after the last test of the test case class is run,
> respectively.

The correlation between atoum and PHPUnit namings is described by this
table:

| atoum              | PHPUnit              |
| ------------------ | -------------------- |
| `setUp`            | `setUpBeforeClass`   |
| `tearDown`         | `tearDownAfterClass` |
| `beforeTestMethod` | `setUp`              |
| `afterTestMethod`  | `tearDown`           |

Thus, the `atoum/phpunit-extension` needs to override the `call*`
methods to map atoum namings into PHPUnit namings. The virtual hooks are
a really great solution, but they must have the protected visibility
instead of being private.

11302 of 13601 relevant lines covered (83.1%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1988.1 13 Oct 2017 07:16AM UTC 0
Travis Job 1988.1
2 1988.2 13 Oct 2017 07:13AM UTC 0
Travis Job 1988.2
3 1988.3 13 Oct 2017 07:13AM UTC 0
Travis Job 1988.3
4 1988.4 13 Oct 2017 07:13AM UTC 0
Travis Job 1988.4
5 1988.5 13 Oct 2017 07:15AM UTC 0
Travis Job 1988.5
Source Files on build 1988
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1988
  • 34b34fba on github
  • Prev Build on virtual-hooks (#1986)
  • Next Build on virtual-hooks (#2017)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc