~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/et/test/README

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2010-03-09 17:34:57 UTC
  • mfrom: (10.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100309173457-4yd6hlcb2osfhx31
Tags: 1:13.b.4-dfsg-3
Manpages in section 1 are needed even if only arch-dependent packages are
built. So, re-enabled them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
Testing and running et tests.
 
3
 
 
4
Testing gui api/applications can be hard, but we can at least
 
5
test that wxerlang behaves as we expected, i.e. that the api
 
6
is consistent and that it don't crash.
 
7
 
 
8
The tests are structured as they are because we want you to
 
9
be 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
 
 
14
To run all the tests compile them and on unix 
 
15
run ./ett to create an erlang terminal.
 
16
 
 
17
Invoke ett:t(). in the erlang shell to run all regression tests.
 
18
If you want to specific tests invoke ett:t(Module) 
 
19
or ett:t(Module, TestCase).
 
20
 
 
21
To run all tests including the ones that require manual intervention run.
 
22
ett:t(all, [{user,true}]).
 
23
 
 
24
To see every test_case window use
 
25
ett:t(all, [{user,step}]).
 
26
This requires that you manually close each window to step to the 
 
27
next test_case.
 
28
 
 
29
If you want to run specific test_cases use:
 
30
ett:t({Module,TestCase}, [{user,step}]).