Closed (duplicate)
Project:
Flag
Version:
8.x-4.x-dev
Component:
Flag core
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Jan 2015 at 03:25 UTC
Updated:
13 Nov 2015 at 21:38 UTC
Jump to comment: Most recent
There's significant code duplication in the SimpleTest classes. There's no reason for this other than laziness. This makes writing tests more laborious than necessary.
Refactor out the duplicated code across all test classes into an abstract base class. This would be similar to the recent refactor of test classes in Flag Friend.
Do the refactor.
None.
None, although any new Flag SimpleTest classes may derive from the base Flag test class.
Comments
Comment #1
socketwench commentedMaking this a meta issue and bumping the priority since it's making it hard to write more tests.
Comment #2
joachim commentedI think this issue is superseded by the one of rationalizing the test classes, which is also taking care of putting more code into the base class.