-
Notifications
You must be signed in to change notification settings - Fork 5
How to build parametrized tests locally
Ilfat edited this page May 11, 2017
·
1 revision
Locally means not on server where exists jenkins job: http://maxscale-jenkins.mariadb.com:8090/view/All/job/run-inner-mdbci-parametrized-tests. Because creating libvirt configurations can crash because of existing similar domain names (libvirt machines), that were created by the job.
ruby scripts/parametrized_testing/parametrized_testing_environment_setup.rb --start
Next command must be executed in mdbci folder
Unit:
./scripts/run_unit_parametrized_tests.sh -t TEST_SET
Integration:
./scripts/run_integration_parametrized_tests.sh -t TEST_SET
TEST_SET – is a array of test names devided with comma.
Example of test name:
filename: test1_spec.rb
test name: test1
Example of test set: test1,test2
ruby scripts/parametrized_testing/parametrized_testing_environment_setup.rb —remove