Task #3311
Refactor Unit tests
Status: | Closed | Start date: | 2009-05-15 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - | |||
Has patch: |
Description
One unit test should only depend on one concrete class. All dependencies must be mocked or put in fixtures to avoid sideeffects and to reduce the adaption work that is needed when changing class/method signatures.
Associated revisions
Fluid: * AbstractViewHelper: there is no default data type of "Text" set anymore for method parameters to be able to throw a meaningful exception if method argument annotations could not be parsed (e.g. due to PHP optimizers that stripped off the docComments). This relates to #3309. * Started to refactor unit tests in order to reduce dependencies. This relates to #3311. * Replaced public properties by setter methods in core classes.
History
#1 Updated by Sebastian Kurfuerst about 4 years ago
- Status changed from New to Closed