README.md in assert-2.14.0 vs README.md in assert-2.15.0
- old
+ new
@@ -426,21 +426,21 @@
Use this if you prefer a 3rd-party tool (like awesome_print or something) over the stdlib `PP.pp` for pretty printing.
## Viewing Test Results
-`Assert::View::DefaultView` is the default handler for viewing test results. Its output goes something like this:
+`Assert::DefaultView` is the default view for test results. Its output goes something like this:
* before the run starts, output some info about the test suite that is about to run
* print out result abbreviations as the test results are generated
* after the run finishes...
* display any result details (from failing or error results) in reverse test/result order
* output some summary info
You can run a test suite and get a feel for what this default outputs. The view has a few options you can tweak:
-* `styled`: whether to apply ANSI styles to the output, default `true`
+* `styled`: whether to apply ansi styles to the output, default `true`
* `pass_styles`: how to style pass result output, default `:green`
* `fail_styles`: default `:red, :bold`
* `error_styles`: default `:yellow, :bold`
* `skip_styles`: default `:cyan`
* `ignore_styles`: default: `:magenta`
@@ -532,10 +532,10 @@
Tests produce results as they are executed. Every `assert` statement produces a result. Some results, like `Error` and `Skip`, will halt execution. `Pass` and `Ignore` results do not halt execution. `Fail` results, by default, halt execution but there is an option to have them not halt execution. Therefore, tests can have many results of varying types.
### View
-A `View` object is responsible for rendering test result output. Assert provides a `Assert::View::Base` object to provide common helpers and default runner callback handlers for building views. Assert also provides a `Assert::View::DefaultView` that it renders its output with. See the "Viewing Test Results" section below for more details.
+A `View` object is responsible for rendering test result output. Assert provides a `Assert::View::Base` object to provide common helpers and default runner callback handlers for building views. Assert also provides an `Assert::DefaultView` that it renders its output with. See the "Viewing Test Results" section below for more details.
### Macro
Macros are procs that define sets of test code and make it available for easy reuse. Macros work nicely with the 'should' and 'test' context methods.