aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/.simplecov
AgeCommit message (Collapse)Author
2016-09-20tests, cask-tests: (maybe) fix coverageAlyssa Ross
2016-08-27Also report Cask coverage.Markus Reiter
2016-08-17Prepare for Homebrew Cask to be imported.Mike McQuaid
- ignore Cask's files in `readall` (for now, there's an intentional syntax error that will need fixed) - run Cask's tests if they exist - don't check Cask's files in coverage reports (for now)
2016-08-06tests: fix fluctuations in test coverage (#647)Martin Afanasjew
This basically started once our integration tests caused the overall test time to raise above 10 minutes, causing some coverage data to be dropped because SimpleCov believed it to be stale.
2016-07-19tests: strip Homebrew prefix from coverage reportMartin Afanasjew
Make `Library/Homebrew` the new root now that *all* implementation files are in this directory. Update filters/groups accordingly. Note that paths in filters/groups are not anchored at the root and are always matched against the full path. Our rules are effectively anchored because they always include the `/Homebrew/` path component.
2016-07-15brew.{rb,sh}: move to Library/Homebrew. (#506)Mike McQuaid
2016-06-14tests: simplify SimpleCov configuration (#348)Martin Afanasjew
There is no good reason to configure the options specific to integration tests in a completely different location from all other options.
2016-05-30tests: no --only minimum coverage requirement. (#299)Mike McQuaid
This will almost certainly fail every time so let's disable this error.
2016-02-18tests: add groups and project name to coverageMartin Afanasjew
Groups make it easier to get an overview of the coverage without having to scan through a single very long list of files. They also display a possibly helpful per-group coverage. The project name is normally derived from the `root` directory which happens to be `Library` in our case, thus make it explicitly `Homebrew`. Closes Homebrew/homebrew#49303. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-02-06tests: track all filesBaptiste Fontaine
2016-02-06tests: enforce min. 40% coverageBaptiste Fontaine
2016-02-06tests: don't use Coveralls outside of CIBaptiste Fontaine
2016-01-21tests: speed up integration test runsMartin Afanasjew
While running a command from the integration tests, invoke `.result` to trigger a save of the result set, but don't call `.format!` to avoid (re)generating the HTML output with every run. The final output will still be written once the main unit test run completes. This significantly speeds up the integration tests, that take about 1/3 less time to complete when not generating the intermediate output. Closes Homebrew/homebrew#48280. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-01-21tests: use unique identifiers w/ integration testsMartin Afanasjew
Commands executed during integration testing are executed in a separate process and thus generate a new result set for each command. To avoid that these results override each other, they need to have a unique `command_name`. Derive this name from the test class/name and the index of the command inside that test, resulting in identifiers like `IntegrationCommandTests#test_prefix.1 brew --prefix`. Also replaces `TEST_TMPDIR` in the arguments with `"@TMPDIR@"` to get a cleaner command identifier that is independent of the temporary directory that changes with every run.
2016-01-21tests: remove useless filter for coverage testsMartin Afanasjew
The filter for `vendor/bundle/` is useless because this directory is located in `Homebrew/test/` and that one is already filtered. Moreover, SimpleCov already loads the `bundler_filter` profile (that installs basically the same filter) in its default configuration.
2016-01-16tests: bump the min. coverage to 60Baptiste Fontaine
2015-12-21tests: add coveralls supportXu Cheng
Closes Homebrew/homebrew#47185. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-07-28.simplecov: use lower root directory.Mike McQuaid
2015-07-28Move simplecov configuration to dotfile.Mike McQuaid