[SERVER-29560] Split hooks.py and testcases.py modules into separate files Created: 12/Jun/17 Updated: 30/Oct/23 Resolved: 21/Jun/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.10 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | Max Hirschhorn |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | TIG 2017-06-19, TIG 2017-07-10 |
| Participants: |
| Description |
|
The hooks.py and testcases.py modules define a number of classes that don't have anything to do with each other except that they derive from the same base class. We should create packages for hooks/ and testcases/ to more easily organize the growing files. In addition to splitting the hooks.py and testcases.py modules into separate files, we should also make it possible to introduce a new CustomBehavior class or a new TestCase class without having to explicitly add it to the dictionary of known classes. |
| Comments |
| Comment by Githook User [ 21/Jun/17 ] |
|
Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}Message: |
| Comment by Max Hirschhorn [ 21/Jun/17 ] |
|
robert.guo pointed out that I failed to delete buildscripts/resmokelib/testing/testcases.py. I'm re-opening this ticket to make that change. |
| Comment by Githook User [ 15/Jun/17 ] |
|
Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}Message: |
| Comment by Githook User [ 15/Jun/17 ] |
|
Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}Message: |
| Comment by Githook User [ 15/Jun/17 ] |
|
Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}Message: Also defines a generic Registry metaclass for making class declarations |