Skip to content

How to build parametrized tests on server with jenkins installed

Ilfat edited this page May 11, 2017 · 1 revision

How to build parametrized tests on server with jenkins installed

Location

Tests located here http://maxscale-jenkins.mariadb.com:8090/view/All/job/run-inner-mdbci-parametrized-tests.

Tests execution

To execute test you should choose appropriate branch, test type (unit or integration). Also, optional, you could specify test set – set of tests to be executed. Test set is a string of test names divided with comma. Test name is a name of file name in spec directory without postfix ‘_spec.rb’.
Example of test name:


filename: test1_spec.rb
test name: test1


Example of test set: test1,test2

If test set field is empty – every parametrized test (for current branch), with given test type (unit or integration), will be executed.

Details

Before tests, job will check if original machines exists or state and create or starts them if it need to.
After tests all machines will be paused, to be restarted later in other job run.