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

atoum / atoum / 2017
83%
master: 85%

Build:
Build:
LAST BUILD BRANCH: 3.x
DEFAULT BRANCH: master
Ran 16 Feb 2018 06:13PM UTC
Jobs 5
Files 259
Run time 10min
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
2017

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.

9678 of 11615 relevant lines covered (83.32%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2017.1 16 Feb 2018 06:20PM UTC 0
Travis Job 2017.1
2 2017.2 16 Feb 2018 06:23PM UTC 0
Travis Job 2017.2
3 2017.3 16 Feb 2018 06:19PM UTC 0
Travis Job 2017.3
4 2017.4 16 Feb 2018 06:19PM UTC 0
Travis Job 2017.4
5 2017.5 16 Feb 2018 06:14PM UTC 0
Travis Job 2017.5
Source Files on build 2017
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2017
  • 9707ef0e on github
  • Prev Build on virtual-hooks (#1988)
  • Next Build on virtual-hooks (#2076)
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