Open okt-yurijp opened 1 week ago
Could explain what "setting default value for package" means in practice, please? Any example?
Yes, of course, I forgot to add it in description. One example of usage:
Add the following before session in main package.xml:
<script id="mytest_id" name="some_test_source_name">
<arg name="test_def1" value="239"/>
<arg name="test_def2" value="777"/>
</script>
And then in package.xml with scripts instead of:
<script name="some_test_source_name">
you can write:
<script ref="mytest_id">
and then name and test_def1 and test_def2 argument will be automatically added to the run of such test. Also, you can redefine name or/and arg value and then it will be used instead of default one.
I think it is worth adding something like this into selftests. Or describe it all in some documentation, but I believe that selftests are easier for both you and readers.
Improve handling of 'objective', 'reqs' and 'execute' for script in package.xml and also add possibility to specify default values for scripts.