-
Notifications
You must be signed in to change notification settings - Fork 95
UnitTests
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.
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}}}