Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] JUnit 4: Am I silly and embarrassed? Or missing something?


Or all of the above?

With the recent notes about the inclusion of org.junit version 4, and from following several bugs, I got the impression that we _had_ to make the kind of adjustments so well described in http://wiki.eclipse.org/Eclipse/Testing/JUnit4_Changes or else our tests would fail.

Over the weekend, I updated to latest platform I-build prereq and ran a few test builds. I expected our unit tests to fail all over the place, since few have made the described adjustments.

But ... all the tests ran just fine!

So, I'm thinking maybe I have been misunderstanding all along?

Or, maybe it is because no one in WTP is yet trying to use junit version 4?

Or, perhaps our test scripts are different enough from the standard one (from Platform) that we are not effected?

Or, maybe I'm missing something?

Is it only "running in the IDE" that it matters? And does not matter when ran in "batch mode"?

I currently can not get "Run As ... plugin unit test" to run in my workbench, so maybe that is where it does matters (but, its not failing in ways described, and I haven't ran any tests in my workspace for  months, so not sure what shape it is in).

Maybe I'm the only one confused, but thought I'd post this comment, and look forward to hearing of others experiences, if successful, or seeing your bug reports if not. :)

Thanks,


Back to the top