Skip to content
kasemir edited this page Jul 20, 2010 · 29 revisions

= Unit Tests = Ideally, CSS code is developed in a test-driven manner, and tests are executed as part of an integration build.


The following is currently under discussion. It's not finalized.

We distinguish between different types of tests, which are identified by the filename and/or annotations

  • Plain JUnit tests: {{{*UnitTest.java}}}
  • JUnit Plug-in tests that need the Eclipse runtime: {{{*UnitPlugTest.java}}}
  • JUnit Plug-in tests that need the runtime but no GUI: {{{*UnitHeadlessTest.java}}}
  • A demo that requires user input or other interaction. Not a real test, but happens to be implemented with JUnit: {{{*Demo.java}}}

Clone this wiki locally