Re: JUnit 4 Tests

Eduard <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <[email protected]>
The NB IDE supports both Junit 4 and 3, I assume you know that. Any 
Junit 4 annotations will be executed when yiou run the tests.

In that light, I find your question confusing. What do you mean by 
"platform aware"? In my thinking a unit test only relates to the 
class-under-test so they shouldn't be made aware of anything else, like 
a platform.

Please give us some more information on what you are looking for.

Cheers
Eduard de Jong

Randall Wood wrote:
> I have a large project that I am scoping the effort of porting to the 
> NetBeans platform that has about 1900 test classes written in the 
> JUnit 4. Is there any guidance on making JUnit 4 tests platform aware?
>
> I am aware of the ability to change JUnit 3 tests to be platform 
> aware, but would rather use a solution that uses the Java 4 
> annotations syntax.
>
> Randall Wood
> JMRI Developer - http://jmri.org
> Alexandria Software - http://alexandriasoftware.com
> Northern Virginia NTRAK - http://nvntrak.org
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.