This repository has been archived by the owner on Jun 12, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 46
Changes in version 2.0
Adam Ralph edited this page Mar 26, 2015
·
32 revisions
- Based on xUnit.net 2.0 and supports all new xUnit.net 2.0 features.
- Official support for Mono.*
-
x()
, an alternative tof()
and_()
.*
- Object disposal and Teardown are no longer represented as a separate test unless they fail. This aligns with the behaviour of most xUnit.net 2.0 runners which show an extra failed test when test clean up fails.
- The
Before()
andAfter()
methods of aBeforeAfterTestAttribute
are now called before and after each scenario is run. In xBehave.net 1.x, these methods were called before and after each step within a scenario was run.
-
Given()
,When()
,Then()
,And()
andBut()
. Usef()
,_()
orx()
* instead. - Timeouts have been removed under the same rationale used for xUnit.net 2.0.
- Isolated steps have been removed as this is a rarely (if ever) used feature that adds considerable implementation overhead.
-
Object disposal without passing a context object to
Using()
(deprecated in 1.x). - An undocumented feature which allows global continuation of step execution when certain types of step fail.
- An undocumented feature which allows omission of arguments from scenario names in test output.
* Work in progress - not yet provided in the current pre-release package.