README.md in assert-2.0.3 vs README.md in assert-2.1.0
- old
+ new
@@ -87,11 +87,11 @@
Assert uses a config pattern for specifying settings. Using this pattern, you can configure settings, extensions, custom views, etc. Settings can be configured in 4 different scopes and are applied in this order: User, Local, CLI, ENV.
### User settings
-Assert will look for and require the file `$HOME/.assert/initializer.rb`. Use this file to specify user settings. User settings can be overridden by Local, CLI, and ENV settings.
+Assert will look for and require the file `$HOME/.assert/init.rb`. Use this file to specify user settings. User settings can be overridden by Local, CLI, and ENV settings.
### Local settings
Assert will look for and require the file `./.assert.rb`. Use this file to specify project settings. Local settings can be overridden by CLI, and ENV settings.
@@ -159,26 +159,26 @@
```sh
$ ASSERT_RUNNER_SEED=1234 assert
```
-### Showing Output
+### Capture Output
-By default, Assert shows any output on `$stdout` produced while running a test. It provides a setting to override whether to show this output or to 'capture' it and show it with the test result details:
+By default, Assert shows any output on `$stdout` produced while running a test. It provides a setting to override whether to show this output or to 'capture' it and display it in the test result details:
In user/local settings file:
```ruby
Assert.configure do |config|
- config.show_output false
+ config.capture_output true
end
```
Using the CLI:
```sh
-$ assert [-o|--show-output|--no-show-output]
+$ assert [-o|--capture-output|--no-capture-output]
```
### Failure Handling
By default, Assert will halt test execution when a test produces a Fail result. It provides a setting to override this default:
@@ -307,13 +307,9 @@
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.
### 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.
-
-## The Assert family of testing tools
-
-TODO: add in references to assert related tools.
## Installation
```
$ gem install assert