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
In NUnit, you can already tell the test runner to run tests in parallel using a single directive in the root test assembly. This is an easy win for improving test execution.
There are multiple tests that can reuse the same client to avoid the ~5s startup penalty of newing up a client every time. We can move this into a per-fixture OneTimeStartup assignment and share the C# test project code amongst the tests. This is reasonable where we're not actually affecting the file system with the client, as is the case in a lot of these tests. We can then set each fixture to run sequentially to avoid parallel calls to the same client that might cause race conditions.
NUnit is currently on an older major version (3.14). If we bump it to v4+, we can utilise FsUnit for beautiful assertion syntax like this: