Hi,
I have a test that succeed sometime and fail other times. If I run the jUnit
source that contain this test, it fail sometime in the loadPermission() method.
I have no idea where to look at. It is even more strange that sometime, I can
have 6 successful tests and after 4 failed in a row.
Hi Samuel,
JUnit can/will run tests in a different order each time. So if your tests
depend on something else having happened (EOF getting fully initialized, some
other test running first) you will see random failures like this. I think it
an/will run tests in multiple threads too (I use
Hi Chuck,
Hi Samuel,
JUnit can/will run tests in a different order each time. So if your tests
depend on something else having happened (EOF getting fully initialized, some
other test running first) you will see random failures like this. I think it
an/will run tests in multiple
Hi Chuck,
I think your last comment was correct:
I think that means a model is being used that is not yet in an EOModelGroup.
I added the model name to the new MockEditingContext() call and no more fail to
date when I run only this test class. If I run the complete project tests, I
still
Le 2013-06-18 à 20:41, Samuel Pelletier sam...@samkar.com a écrit :
Hi Chuck,
I think your last comment was correct:
I think that means a model is being used that is not yet in an EOModelGroup.
I added the model name to the new MockEditingContext() call and no more fail
to date when