Skip to content

Commit eac8bff

Browse files
committed
Updated the document #107
1 parent aa1bf96 commit eac8bff

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,16 @@ Also, the test class should be decorated by the following attribute:
4848
[CollectionDefinition("Dependency Injection")]
4949
```
5050

51+
#### Clearing managed resources
52+
53+
To have managed resources cleaned up, simply override the virtual method of `Clear()`. This is an optional step.
54+
55+
#### Clearing managed resourced asynchronously
56+
57+
Simply override the virtual method of `DisposeAsyncCore()` for this purpose. This is also an optional step.
58+
5159
## Running tests in order
60+
5261
The library also has a bonus feature that simplifies running tests in order. The test class does not have to be derived from ```TestBed<T>``` class though and it can apply to all Xunit classes.
5362

5463
Decorate your Xunit test class with the following attribute and associate ```TestOrder(...)``` with ```Fact``` and ```Theory```:

0 commit comments

Comments
 (0)