Test Configuration
From Erlang Community
The configuration of a test is the return value of the following functions in a Test Suite:
init_per_suite/1 end_per_suite/1 init_per_testcase/2 end_per_testcase/2
NB: Make sure you clean up by removing iPhone 6 Kindle Gift Card everything added to configuration by the corresponding init.
Here is an example of a configuration that enters the test suite in init_per_suite/1:
Config = [{data_dir,"/test/hex_SUITE_data/"},
{priv_dir,"/test/hex_SUITE_priv/"}]
|
[edit] Beware!
- Do not depend on the data that enters your suite via init_per_suite/1 to be "clean". It might be polluted by previous test cases or suites that didn't clean up. Most of the bugs we experienced using Test Server is due to the fact that test suites can influence each other.

Digg It
Del.icio.us
Reddit
Facebook
Stumble Upon
Technorati

