README.md in assert-2.18.2 vs README.md in assert-2.18.3
- old
+ new
@@ -7,11 +7,11 @@
require "assert"
class MyTests < Assert::Context
test "something" do
- assert_equal 1, 1
+ assert_that(1).equals(1)
end
end
```
```
@@ -31,27 +31,28 @@
* **First Class**: everything is a first class object and can be extended to your liking (and should be)
* **MVC**: tests and how they are defined (M) and executed (C) are distinct from how you view the test results (V).
## What Assert is not
-* **RSpec/spec-anything**: define tests using assertion statements
-* **Unit/Functional/Integration/etc**: Assert is agnostic - you define whatever kinds of tests you like (one or more of the above) and assert runs them in context
-* **Mock/Spec/BDD/etc**: Assert is the framework and there are a variety of 3rd party tools to do such things - feel free to use whatever you like
+* **RSpec/spec-anything**: define tests using assertion statements.
+* **Unit/Functional/Integration/etc**: Assert is agnostic - you define whatever kinds of tests you like and Assert runs them in context.
+* **Mock/Spec/BDD/etc**: Assert is the framework and there are a variety of 3rd party tools to do such things. Feel free to use whatever you like.
## Description
-Assert is an assertion style testing framework, meaning you use assertion statements to define your tests and create results. Assert uses class-based contexts so if you want to nest your contexts, use inheritance.
+Assert is an assertion-style testing framework, meaning you use assertion statements to define your tests and create results. Assert uses class-based contexts so if you want to nest your contexts, use inheritance.
### Features
* `assert` [executable](https://github.com/redding/assert#cli) for running tests
* run tests by tab completing test file paths
* run only test files that have been modified
* random order test execution
* class-based contexts
* multiple before/setup & after/teardown blocks
* around blocks
+* `let` value declarations
* full backtrace for errors
* optionally pretty print objects in failure descriptions
* [stubbing API](https://github.com/redding/assert#stub)
* [factory API](https://github.com/redding/assert#factory)
* `skip` to skip tests
@@ -664,6 +665,6 @@
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
One note: please respect that Assert itself is intended to be the flexible, base-level, framework-type logic that should change little if at all. Pull requests for niche functionality or personal testing philosphy stuff will likely not be accepted.
-If you wish to extend Assert for your niche purpose/desire/philosophy, please do so in it's own gem (preferrably named `assert-<whatever>`) that uses Assert as a dependency.
+If you wish to extend Assert for your niche purpose/desire/philosophy, please do so in its own gem (preferrably named `assert-<whatever>`) that uses Assert as a dependency.