Commit e217b510 authored by Roque's avatar Roque

test: new ERP5 test suite to run only renderJS and officeJS tests

parent 0d21e7ec
......@@ -226,3 +226,13 @@ class ERP5BusinessTemplateCodingStyleTestSuite(_ERP5):
def run(self, full_test):
return self.runUnitTest('CodingStyleTest', TESTED_BUSINESS_TEMPLATE=full_test)
class RJS_Only(_ERP5):
def getTestList(self):
rjs_officejs_bt_list = ["erp5_officejs_",
"renderjs_ui_test",
"erp5_monaco_editor_ui_test",
"erp5_travel_expense_ui_test",
"erp5_gadget_interface_validator_ui_test",
"erp5_hal_json_style"]
return [test for test in self._getAllTestList() if any(test.find(bt)>-1 for bt in rjs_officejs_bt_list)]
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment