my unit tests work if run separately, but when run altogether some fail
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Alexandra_Alexandra
Posted On:   Thursday, May 10, 2007 05:40 AM


My unit tests pass if I run them separately but if i include them in a suite() method and try to run this method, some of my tests fail. I think it has something to do with an interface issue.



Error messages are provided in a MessagePanel inside the project.

Inside my unit tests I created a MockMessageProvider class which extends the same interface as the MessagePanel class and writes the messages inside the console.


Why does this happen?

About | Sitemap | Contact