Execute cliargs script before running tests
This commit is contained in:
parent
cd34bb182c
commit
0156100013
5 changed files with 27 additions and 17 deletions
9
scripts/cliargs.sh
Executable file
9
scripts/cliargs.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
java -cp "lib/test/*" org.testng.TestNG 2>/dev/null |\
|
||||
grep "^ -.*" |\
|
||||
sed -e "s/ -/-/" -e "s/, -/\n-/" |\
|
||||
sed "/testRunFactory/d" |\
|
||||
sort |\
|
||||
sed '$s/,//' > "src/test/resources/testng-args.txt"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue