test_server:break/1
and
test_server:continue/0
for semiautomatic testing.
test_server:timetrap/1
can now also take {hours,H} |
{minutes,M | {seconds,S}
.
test_server_ctrl:multiply_timetraps/1
,
test_server_ctrl:add_case/3
,
test_server_ctrl:add_cases/2/3
.
init_per_suite/1
and
end_per_suite/1
.
fin_per_testcase/2
is changed to end_per_testcase/2
.
fin_per_testcase
is kept for backwards compatibility.
init_tc/1
, end_tc/3
,
get_suite/2
, report/2
, warn/1
.
cover
and cover_details
to ts:run
. When one of these options is used,
the tested application will be cover compiled
before the test is run. The cover compiled code will also
be loaded on all slave or peer nodes started with
test_server:start_node
. When the test is completed
coverage data from all nodes is collected and merged, and
presented in the coverage log to which there will be a link
from the test suite result page (i.e. the one with the
heading "Test suite ... results").
cover_details
option will do
cover:analyse_to_file
for each cover compiled module,
while the cover
option only will produce a list of
modules and the number of covered/uncovered lines in each
module.
ts:run([all_tests | Options])
.
erl -s ts run all_tests batch cover