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

atoum / atoum / 1949
83%
master: 85%

Build:
Build:
LAST BUILD BRANCH: 3.x
DEFAULT BRANCH: master
Ran 09 Oct 2017 08:25AM UTC
Jobs 5
Files 258
Run time 6min
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
1949

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.

11260 of 13548 relevant lines covered (83.11%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1949.1 09 Oct 2017 08:31AM UTC 0
Travis Job 1949.1
2 1949.2 09 Oct 2017 08:27AM UTC 0
Travis Job 1949.2
3 1949.3 09 Oct 2017 08:27AM UTC 0
Travis Job 1949.3
4 1949.4 09 Oct 2017 08:26AM UTC 0
Travis Job 1949.4
5 1949.5 09 Oct 2017 08:30AM UTC 0
Travis Job 1949.5
Source Files on build 1949
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1949
  • 927093b6 on github
  • Prev Build on virtual-hooks (#1927)
  • Next Build on virtual-hooks (#1954)
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