| ▲ | aleksiy123 2 days ago | |||||||||||||||||||||||||
All I mean that there is no way for a framework to prevent your tests from interfering with each other, or to solve isolation for you. It’s the implementation of each test that is responsible for its isolation. Every time you write or make changes to your tests. You have to think, can they mess with each other. | ||||||||||||||||||||||||||
| ▲ | locknitpicker 2 days ago | parent [-] | |||||||||||||||||||||||||
> All I mean that there is no way for a framework to prevent your tests from interfering with each other, or to solve isolation for you. What? By design that's exactly how virtually all test frameworks are designed to work. > It's the implementation of each test that is responsible for its isolation. Every time you write or make changes to your tests. You have to think, can they mess with each other. Nonsense. I've been writing unit tests for years in multiple programming languages and using multiple frameworks, and not once did I stumbled upon any scenario whatsoever where I had to be mindful about isolating tests. Because that was assured and a given from the very start. I wonder what kind of convoluted mess you are doing with your tests. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||