-
Notifications
You must be signed in to change notification settings - Fork 20
Testing
Dartboard has automatic tests in place to ensure that everything works as expected. These tests are run on every release build and every PR submitted. This helps catching bugs and mistakes early and efficiently.
If you submit a pull request to the plugin please make sure to also add appropriate tests.
For testing we use a number of libraries and tools:
-
Hamcrest
-
JUnit 4
-
Mockito
-
RedDeer - for UI tests
Not every feature requires UI tests to be executed and not everything can be tested without UI tests. So not every pull request has to include UI tests.
There are a number of dependencies that need to be installed in order to have the required dependencies available.
Go to Help>Install new Software…, select --All Available Sites-- and install Eclipse Test Framework.
RedDeer is available from a separate update site. Add http://download.eclipse.org/reddeer/releases/latest as a new update site.
Install the following features:
-
RedDeer Runtime/API (both Eclipse & SWT)
-
RedDeer UI Feature
-
RedDeer Recorder Feature
Optionally you can install the Source packages as well.
Dart and the related logo are trademarks of Google LLC. We are not endorsed by or affiliated with Google LLC.