- Fixed an issue when procs would fail to be tested (thanks @jkantarek)
- Pass example instance to hooks to allow for its inspection (thanks @nrser)
- Fix an issue when exception is swallowed in assertion phase
- Allow to use without Rake installed. If you want to use Rake task, please add
require 'yard/doctest/rake'
to your Rakefile (#8)
- Ignore files excluded in .yardopts (#7)
- Reworked the construction of context where examples are evaluated.
- Remove constants defined during test execution for better isolation.
- Properly share local context between assertions when scoped to class (#6)
- Allow to have
doctest_helper.rb
inspec/
directory #4 - Allow to use local context in doctest (i.e. not type full path to object) #5
- Fixed a bug when test was passing even though exception was raised in example
- Fix a bug when only one of global and test-name hooks is executed for matching test
- Support per-example hooks #3
- Support testing for exceptions #2
- Allow to keep doctest_helper in support/ directory
- Rake task exits with non-zero code when doctests fail
- Allow skipping tests
- Allow configuring yard-doctest
- Rename helper from yard-doctest_helper to doctest_helper
- Refactoring
- Initial version