Skip to content

Latest commit

 

History

History
75 lines (40 loc) · 1.59 KB

CHANGELOG.md

File metadata and controls

75 lines (40 loc) · 1.59 KB

0.1.17

  • Fixed an issue when procs would fail to be tested (thanks @jkantarek)

0.1.16

  • Pass example instance to hooks to allow for its inspection (thanks @nrser)

0.1.15

  • Fix an issue when exception is swallowed in assertion phase

0.1.14

  • Allow to use without Rake installed. If you want to use Rake task, please add require 'yard/doctest/rake' to your Rakefile (#8)

0.1.13

  • Ignore files excluded in .yardopts (#7)

0.1.12

  • Reworked the construction of context where examples are evaluated.

0.1.11

  • Remove constants defined during test execution for better isolation.

0.1.10

  • Properly share local context between assertions when scoped to class (#6)

0.1.9

  • Allow to have doctest_helper.rb in spec/ directory #4
  • Allow to use local context in doctest (i.e. not type full path to object) #5

0.1.8

  • Fixed a bug when test was passing even though exception was raised in example

0.1.7

  • Fix a bug when only one of global and test-name hooks is executed for matching test

0.1.6

  • Support per-example hooks #3

0.1.5

  • Support testing for exceptions #2

0.1.4

  • Allow to keep doctest_helper in support/ directory

0.1.3

  • Rake task exits with non-zero code when doctests fail

0.1.2

  • Allow skipping tests
  • Allow configuring yard-doctest
  • Rename helper from yard-doctest_helper to doctest_helper

0.1.1

  • Refactoring

0.1.0

  • Initial version