ArnaudBuchholz / ui5-test-runner

A test runner for UI5 applications enabling parallel execution of tests.
https://arnaudbuchholz.github.io/ui5-test-runner/
MIT License
18 stars 9 forks source link

Provide a way to parallelize OPA tests automatically #83

Closed ArnaudBuchholz closed 3 months ago

ArnaudBuchholz commented 3 months ago

Is your feature request related to a problem? Please describe. Parallelizing OPA tests requires a structural change to the project.

Describe the solution you'd like QUnit organizes the tests using module. A deep probing of the OPA test would allow the listing of existing modules. Then, we could have as many runs as required to execute each module individually (meaning the other modules would be 'turned off')

Describe alternatives you've considered Structural change of the project can be challenging on some projects.

Additional context

ArnaudBuchholz commented 3 months ago

In order to build a POC :

ArnaudBuchholz commented 3 months ago

QUnit already supports a moduleId selector : http://localhost:8080/test/integration/opaTests.qunit.html?moduleId=5201787c runs Search journey in training-ui5con18-opa

ArnaudBuchholz commented 3 months ago

To make it work, it requires that probing of testsuite.qunit.html goes through probing again for added test pages.

ArnaudBuchholz commented 3 months ago

 --split-opa option added and tested successfully