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
Moreover, the execution behavior of `clean tests` can be finely controlled by utilizing the `ExecutionConfigurationOverride` attribute.
92
+
This attribute allows you to apply overrides either for all test methods within a given class, or for individual test methods.
93
+
Currently, the only parameter that can be controlled is the `MaxDegreeOfParallelism` (however, it is worth noting that this will be enhanced in future releases).
94
+
95
+
There are many scenarios for which this opportunity would be beneficial:
96
+
- If we need to use multiple threads within a single test case, it is often useful to reduce the max degree of parallelism.
for (inti=0; i<parallelTasksCount; i++) tasks[i] =ExecuteOperation();
108
+
109
+
awaitTask.WhenAll(tasks);
110
+
AssertState();
111
+
}
112
+
```
113
+
91
114
#### Metadata presentation
92
115
93
116
The enum `CleanTestMetadataPresentations` offers three options used for additional configuration over the `clean tests` execution framework:
@@ -209,4 +232,8 @@ public void WriteShouldSucceed()
209
232
IWriterwriter=this.GetService<IWriter>();
210
233
writer.Write("Some text");
211
234
}
212
-
```
235
+
```
236
+
237
+
# Helpful Links
238
+
239
+
For additional information on troubleshooting, migration guides, answers to Frequently asked questions (FAQ), and more, you can refer to the [Wiki pages](https://github.com/TryAtSoftware/CleanTests/wiki) of this project.
0 commit comments