CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Task #4002

Improve unit tests

Added by Fabien Udriot almost 4 years ago. Updated over 2 years ago.

Status:Closed Start date:2009-07-27
Priority:Won't have this time Due date:
Assignee:- % Done:

0%

Category:Unit tests
Target version:-
Votes: 0

Description

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.

Associated revisions

Revision 35841
Added by Oliver Klee almost 3 years ago

[Bug 4002] Add a method "find by begin date" to the event mapper, r=niels

History

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

Updated by Reinhard Führicht over 3 years ago

  • Status changed from New to Closed

I don't think this will ever happen :-)

Also available in: Atom PDF