Closed felipebz closed 5 years ago
No, thanks for finding! Time to create an integration test for this behaviour, too.
The issue is actually caused by a bug in JCommander, which uses startsWith
at several places to match VariableArity parameters. This is a problem because our new -t, --timeout
matches anything which starts with -t
...
After investigation, I fear fixing the bug in JCommander might have unwanted side-effects, therefore I think about switching to a different CLI library like https://github.com/remkop/picocli/
Hi everyone.
I updated the utPLSQL-cli from 3.1.2 to 3.1.6 and the option "-type_mapping" isn't recognized anymore, for example:
utplsql-cli run (database) -p=(schema) -f=ut_sonar_test_reporter -o=tests.xml -source_path=src -test_path=test -type_mapping="sql=PACKAGE BODY"
If I use utplsql-cli 3.1.2 then the file "tests.xml" is generated correctly, but if I try to use the version 3.1.6 I get this error:
Is this expected?