threefoldtecharchive / jumpscaleX_archived

Apache License 2.0
1 stars 6 forks source link

zeroCI: Test Runner front-end #755

Open AhmedHanafy725 opened 5 years ago

AhmedHanafy725 commented 5 years ago

After running the tests on zeroCI, results need to have a good view.

We have 2 scenarios for running tests:

1- Run tests for every commit on a branch for a repo. 2- Run testsuite for a specific project like Builders should be run nightly.

Tests Result types:

1- Tests that use JUnit should have the status and result for every testcase. 2- Tests that not use JUnit should have the overall result as log.

zeroCI APIs:

/: contains the names of repos and testsuites running on the CI {"repos": [], projects: []} /repos/<repo_name>: contains the branches running on this repo_name. /repos/<repo_name>?branch=<branch_name>: contains a simple info about every commit had run on branch_name. /repos/<repo_name>?branch=<branch_name>&&id=<test_id>: contains the result of the test, test_id can be obtained from the previous api. /projects/<project_name>: contains the test runs on this project_name /projects/<project_name>?id=<test_id>: contains the test result of the test, test_id can be obtained from the previous api.

samaradel commented 5 years ago

UI and data almost did, working on dynamic routes