Ticket #80 (closed enhancement: fixed)
a skeleton for test units
| Reported by: | guest | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | documentation | Version: | |
| Keywords: | test, skeleton, example | Cc: |
Description
I suggest you to add, in the examples page, a skeleton for test units. It would help people understanding how elixir works and make it easier to write tests. For example, the first time I have tried, I lost a lot of time trying to understand where to put 'session.clear' and 'session.commit', etc. and how to test exceptions.
I am attaching a short skeleton I wrote for myself (it uses both unittest and doctest), but you can probably design a better one.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
