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

locomotivemtl / charcoal-config / 66
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: 0.10.1
DEFAULT BRANCH: master
Ran 30 Apr 2018 05:08PM UTC
Jobs 4
Files 11
Run time 8s
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
66

push

travis-ci

mcaskill
Refactor Unit Tests

Changed:
- Split unit tests into two namespaces: Config and Entity
- Replace `config_files/*` with `Fixture/fail/*` and `Fixture/pass/*`
- Rename `ConfigurableTraitTest` to `ConfigurableTest`
- Rename `DelegatesAwareTraitTest` to `DelegatesAwareTest`
- Rename `SeparatorAwareTraitTest` to `SeparatorAwareTest`
- Rename `AbstractConfigDelegatesTest` to `ConfigDelegatesAwareTest`
- Rename `AbstractConfigSeparatorTest` to `ConfigSeparatorAwareTest`
- Rename `AbstractConfig*Test` classes to `Config*Test`
- Rename `AbstractEntity*Test` classes to `Entity*Test`
- `loadJsonFile()` to better handle empty files
- `loadYamlFile()` to use `Yaml\Parser::parseFile()` instead of `::parse()`

Added:
- `tests/bootstrap.php` to assign the Composer autoloader to the global state (revert 19665c43)
- Mock instances to `Config/Mock/*` and `Entity/Mock/*`
- `AbstractTestCase` to provide foundation for all tests
- `AssertionsTrait` to provide composite assertion methods
- `ArrayAccessTrait` to provide foundation for `ArrayAccess` tests
- `FileLoader/*Test` to focus on each supported file format
- `ConfigFileAwareTest` to focus on config file loading and merging
- `ConfigArrayMergeTest` to focus on config merging
- Catch PHP7 Throwables

Removed:
- `AbstractEntityClass` in favour of classes in `Entity/Mock/*`

23 of 23 new or added lines in 2 files covered. (100.0%)

318 of 318 relevant lines covered (100.0%)

13.46 hits per line

Jobs
ID Job ID Ran Files Coverage
1 66.1 30 Apr 2018 05:08PM UTC 0
99.01
Travis Job 66.1
2 66.2 30 Apr 2018 05:09PM UTC 0
100.0
Travis Job 66.2
3 66.3 30 Apr 2018 05:09PM UTC 0
100.0
Travis Job 66.3
4 66.4 30 Apr 2018 05:09PM UTC 0
100.0
Travis Job 66.4
Source Files on build 66
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #66
  • 9232a9e2 on github
  • Prev Build on mcaskill-patch-cleanup (#65)
  • Next Build on mcaskill-patch-cleanup (#67)
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