forked from erlang/otp
-
Notifications
You must be signed in to change notification settings - Fork 0
Running tests
bjorng edited this page Sep 13, 2010
·
19 revisions
Build the tests like this
make release_tests
To run the test first do:
cd release/test/test_server
and then start Erlang:
$ERL_TOP/bin/erl
Install the ts
framework
ts:install().
To run all test suites do
ts:run().
Note that running all tests will require several hours, so you may want to run the test cases for a single application
ts:run(Application, [batch]).
or even part of the test suite for an application, for example
ts:run(emulator, bs, [batch]).
to run all test suite modules starting with bs
(i.e. all modules that test the bit syntax).
Run ts:help()
to show some help.
There will currently be 15 or so failed test cases in the kernel
application.
Open the file release/test/test_server/index.html
in a web browser. Or open release/test/test_server/last_test.html
when a test suite is running to examine the results so far for the currently executing test suite.