Testing with Test Helper
From Erlang Community
Contents |
Author
Article
For this you can use the erlang test server. It's home page is http://www.erlang.org/project/test_server/index.html. It is quite an involved process getting it to work, as you can find on this page.
In order to speed up the testing process and to fit in with a philosophy of test as you go, we created File:testhelper.erl. It makes it easy to build test suites that are compatible with the Test Server, but still allows you to run your tests in Emacs.
Writing a test suite
The basic steps are exactly the same as for Test Server. For details, look at Writing Test Suites
Here is the quick recipe:
1. In Emacs select Erlang|Skeletons|Erlang test suite TS Frontend:
Running all the tests in the suite
In order to run our new test suite, we


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

