Improve unit tests
|Priority:||Won't have this time||Due date:|
I have seen there are some test cases but I haven't run them yet. Don't know whether they work.
Unit tests can be improved in further versions. I think it would be nice to have some good unit test for MailFormPlus MVC. Code basis will grow up with the time, number of contributors may increase too and it can become scary to change something without breaking the extension. Although unit test are not the 100% solution, it provides some security guide lines.
I know it's a hard / long job to write unit tests, but I think it worth to look into, though. Good practices recommend to write unit test before implementing the feature.
[Bug 4002] Add a method "find by begin date" to the event mapper, r=niels
Updated by Fabien Udriot almost 4 years ago
2009-04-06 18:01 - Reinhard Führicht¶
Category set to Code and Architecture
The first thing, where unit tests will be helpful and easy to add are the error checks.
I suggest to start there.
In the meantime we should figure out how to test the form submission process or file uploads. Will be somehow a difficult task.
2009-05-14 16:25 - Fabien Udriot¶
First commit about that issue in r20307
1) Corrected existing tests in order they work with the refactored validator
2) Added new Test "betweenItems"
Updated by Reinhard Führicht over 3 years ago
- Status changed from Accepted to New
- Priority changed from Should have to Won't have this time