Project

Profile

Help

Test #6430

Updated by dalley about 4 years ago

Task group functionality was added without tests, because it is difficult to test via the standard means.    Task groups are a plugin-api-only feature so the only way to test this would be: 


 * 

 a) manually set them up in the database 
 * b) in the "using plugin" section of the functional tests, run tests against a plugin that uses task groups 
 * c) bmbouter suggests: 

 > ~~~ 
 One idea I had for the automated tests is that we should have some way for them to load additional viewsets and tasks in the RQ registry if there is a PULP_TEST env var set or something. Something that keeps them unloaded on production systems and the tests automatically skip if they aren't loaded. Just an idea I had. 
 ~~~

Back