JUnit Inconsistencies
| Newsgroups | gmane.comp.java.junit.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I have written a JUnit test case for the comparison of a data from files. Expected result is present in a file and actual is coming through the execution. Lets call this test case as compareDataTest. I have around 200 unit test cases in the same project. When I run ONLY compareDataTest TEST CASE, IT ALWAYS PASSES. But, when I run all the test cases from the project, compareDataTest some times passes and some times fails. There is no dependency on other test cases. I tried restarting my IDE and even the system which doesn't look like working. Has anyone faced this ? what might be the possible solution... ? Regards, Arshad