Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ajdt-dev] Another week, another new plugin

What's changing?

We now have an additional test plugin "org.eclipse.ajdt.core.tests". This 
is for separating out those testcases which exercise functionality in the 
org.eclipse.ajdt.core plugin, and such that the tests themselves can also 
run in a non-UI environment. The FAQ has been updated appropriately.

Why is it changing?

The more tests we add, the cleaner it becomes to separate the ajdt tests 
into core and ui tests. This arrangement will also allow us to test that 
the ajdt core plugin can function correctly in the absence of the ajdt ui 
plugin. Our build process will in time run the core tests twice, once in a 
non-UI environment, and again in the full UI environment.

How does it affect me?

If you have a development environment for AJDT you will need to check-out 
this new plugin, as the existing org.eclipse.ajdt.test plugin now depends 
on it. You can run the core tests by doing "Run as JUnit Plug-in Test" on 
org.eclipse.ajdt.core.tests.AllAJDTCoreTests.java. This will run the tests 
without the UI. If you run AllTests from the main org.eclipse.ajdt.test 
plugin, the core tests will also be run, but in a full UI environment. New 
core tests can be written by extending the AJDTCoreTestCase class, which 
contains useful routines such as createPredefinedProject and 
deleteProject.

Regards,

Matt.

-- 
Matt Chapman, mchapman@xxxxxxxxxx
AJDT Development, http://www.eclipse.org/ajdt 



Back to the top