aboutsummaryrefslogtreecommitdiffstats
path: root/devtest/README.txt
blob: 5823641a7f22d1d60c61e50c3df84d1737a35251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
This module is thought to run tests in development mode in
order to speed up TDD.

- Put your tests in the DevTestRunner class.
- Call gwtSetup() and your test in the entryPoint.
- If you need any assertion method provided by the junit
  library put it in the class MyTestCase.
  There are already a bunch of them.
- Run the module in development mode: mvn gwt:run 
  or lauch it from eclipse
- See the output of the tests. If there is a failure
  a stacktrace should be shown in the output.
- Modify your test code and reload the application in your browser.
- When your test was ready put it in your test class extending
  GWTTestCase.

- If you prefer superdev mode run: mvn gwt:run-codeserver but
  you have to be familiar with debuging in javascript and use source maps.