You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,16 @@ Also, the test class should be decorated by the following attribute:
48
48
[CollectionDefinition("Dependency Injection")]
49
49
```
50
50
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
+
51
59
## Running tests in order
60
+
52
61
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.
53
62
54
63
Decorate your Xunit test class with the following attribute and associate ```TestOrder(...)``` with ```Fact``` and ```Theory```:
0 commit comments