Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add help and change alternative command from _ to -
  • Loading branch information
pesse committed May 14, 2019
commit d9b181ba2402f8759350e18ff81ca6cd5198f38f
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,12 @@ utplsql run "my/Username"/"myP@ssword"@connectstring

-dbout - Enables DBMS_OUTPUT in the TestRunner-Session
(--dbms_output) Default: false

-random - Enables random order of test executions
(--random-test-order) Default: false

-seed - Sets the seed to use for random test execution order. If set, it sets -random to true
(--random-test-order-seed)
```

Parameters -f, -o, -s are correlated. That is parameters -o and -s are controlling outputs for reporter specified by the preceding -f parameter.
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/utplsql/cli/RunCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,13 @@ public class RunCommand implements ICommand {
private boolean enableDbmsOutput = false;

@Parameter(
names = {"-random", "--random_test_order"},
names = {"-random", "--random-test-order"},
description = "Enables random order of test executions (default: DISABLED)"
)
private boolean randomTestOrder = false;

@Parameter(
names = {"-seed", "--random_test_order_seed"},
names = {"-seed", "--random-test-order-seed"},
description = "Sets the seed to use for random test execution order. If set, it sets -random to true"
)
private Integer randomTestOrderSeed;
Expand Down