I have solved a topCoder problem for which all the tests pass when I run them on their own. Nonetheless when I run the whole test class some of them fail. Could you, please,
You can also try @BeforeEach for Junit5
@BeforeEach public void setup() { // Some code here }