In short your test should have a unique instance or clean copy of whatever it depends on to make sure it can truly run in parallel. This applies to any dependency whether is it a mock or substitute, a file, a directory, or a database.

Read more »