testfüggség
Testfüggőség, commonly translated as "test dependency" or "test coupling," refers to a situation in software development where the outcome of one test relies on the successful execution or state left behind by another test. This can manifest in several ways, such as tests that must be run in a specific order, tests that modify shared data that subsequent tests depend on, or tests that assume a certain environment setup performed by a previous test.
The primary issue with testfüggőség is that it makes tests unreliable and difficult to maintain. If a
To mitigate testfüggőség, developers strive to create independent tests. This is often achieved through techniques like