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

atoum / atoum / 2211
83%
master: 85%

Build:
Build:
LAST BUILD BRANCH: 3.x
DEFAULT BRANCH: master
Ran 18 Nov 2020 09:56PM UTC
Jobs 4
Files 259
Run time 2min
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
2211

push

travis-ci

Grummfy
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.

9689 of 11645 relevant lines covered (83.2%)

2.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2211.1 (COVERALLS_REPO_TOKEN=[secure]) 18 Nov 2020 09:57PM UTC 0
83.2
Travis Job 2211.1
2 2211.2 (COVERALLS_REPO_TOKEN=[secure]) 18 Nov 2020 09:57PM UTC 0
83.2
Travis Job 2211.2
3 2211.3 (COVERALLS_REPO_TOKEN=[secure]) 18 Nov 2020 09:56PM UTC 0
83.2
Travis Job 2211.3
4 2211.4 (COVERALLS_REPO_TOKEN=[secure]) 18 Nov 2020 09:56PM UTC 0
0.0
Travis Job 2211.4
Source Files on build 2211
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2211
  • 39094ec9 on github
  • Prev 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