You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement test environments and before/after closures (#30)
* Add support for test context environments
* Move environment into Runner (changing strategy from BFS to DFS in PSPACE)
* Add support for `before` and `after` (and variants) closures
* Clean up project structure
* Make the whole thing parallel in execution.
* Make runner work with multiple suites, remove unnecessary lifetimes, etc.
* Rustfmt the files + move runner::Configuration in its own module
* move Context modules in a directory
* cargo fmt
* Extract private method and rename inner variables
* remove useless `_with` methods in Runner
* Remove need for `rayon::initialize`
* Remove unused/commented code from example
* Demote suite/context/example names from `String` to `&’static str`
* Lots of cleanup, a parallel formatter, and lots more
* Add convenience macro and example
* Improved README
* Fix `.or_exit()`, making it less error prone while we’re at it
* Refactor Runner simplifying `fn visit()` for `Context<T>`
* Improve module exports & documentation
* Improve `EventHandler` (now called `RunnerObserver`)
* Improve documentation for `ExampleReport`
* Clean up suite/context/example header structs & add tests
* Add default impl for `RunnerObserver` trait
* Move root environment into Suite
* cargo fmt
* Add minimal tests for suite
* Fix indentation of Context tests
* Improve imports
* Clean up `RunnerObserver`
* Change `RunnerObserver` default impls to stable syntax
* impl default for configuration runner
* first tests of the runner
* str is simpler than String
* add Runner::wrap_each tests
* add Runner tests for wrap_all and Drop trait
* Add first test for impl_visitor_block_for_runner
* Fix macro, allowing passing of expression, not just identifiers
* Fix missing new-line in formatter
* Simplify ‘simple’ example
* Replace `rspec_run!` macro with function
* Some more cleanup
* Fix test runner::impl_visitor_block_for_runner::it_can_be_called
* Add tests for impl_visitor_example_for_runner
* Rename ‘Formatter’ to ‘Logger’
* Improve logger, merging serial & parallel logger
0 commit comments