CHANGES.md in pork-0.9.2 vs CHANGES.md in pork-1.0.0

- old
+ new

@@ -1,6 +1,41 @@ # CHANGES +## Pork 1.0.0 -- 2014-11-20 + +### Bugs fixed + +* Now exceptions raised in after hook are properly rescued. +* Previously runtime includes loading time, now it only includes + test running time. + +### Incompatible changes + +* Internal structure was completed rewritten. +* Simply `require 'pork'` would no longer introduce `Kernel#should`. + Use `require 'pork/should'` to bring it back. (`require 'pork/auto'` + would already do this for you) +* Removed `@__pork__desc__` (which is implementation detail anyway) +* Renamed `Pork.report_at_exit` to `Pork.autorun` + +### Enhancement + +* `Pork.autorun` also accepts a flag to enable/disable autorun. +* Introduced `Pork::Expector#expect` to replace `Kernel#should` +* `Kernel#should` is now optional and a wrapper around `Pork::Expector#expect` + +* Introduced `Pork::Inspect#diff_hash`. See README.md for + `Pork.inspect_failure_mode` for detail. +* Introduced `Pork.execute_mode`. See README.md for detail +* Introduced `Pork::Isolate` which allows you to run a specific test. +* Introduced `Pork::Shuffle` which we could run tests in random order. + See README.md for `Pork.execute_mode` for detail. +* Introduced `Pork::Parallel` which we could run tests in parallel. + See README.md for `Pork.execute_mode` for detail. + +* Introduced `Pork::Executor#pork_stat` to access the current stat from test. +* Introduced mutant integration. + ## Pork 0.9.2 -- 2014-11-07 * Pork::Error is now a StandardError instead of an Exception. We should all try to avoid using Exception directly, since we don't want to interferer with signal handling.