1
2Testing and running reltool tests.
3
4Testing gui api/applications can be hard, but we can at least
5test that wxerlang behaves as we expected, i.e. that the api
6is consistent and that it don't crash.
7
8The tests are structured as they are because we want you to
9be able to run them in three different ways.
10 - direct via an erlang shell
11 - via common_test application
12 - via erlang/OTP inhouse ts tool.
13
14To run all the tests compile them and on unix
15run ./rtt to create an erlang terminal.
16
17Invoke rtt:t(). in the erlang shell to run all regression tests.
18If you want to specific tests invoke rtt:t(Module)
19or rtt:t(Module, TestCase).
20
21To run all tests including the ones that require manual intervention run.
22rtt:t(all, [{user,true}]).
23
24To see every test_case window use
25rtt:t(all, [{user,step}]).
26This requires that you manually close each window to step to the
27next test_case.
28
29If you want to run specific test_cases use:
30rtt:t({Module,TestCase}, [{user,step}]).
31