# Test1 & Test2 create files Test1.run & Test2.run respectively

# no parameters
> testOnly
$ exists target/Test1.run
$ exists target/Test2.run

$ delete target/Test1.run
$ delete target/Test2.run


# with explicit match
> testOnly Test1*
$ exists target/Test1.run
-$ exists target/Test2.run

$ delete target/Test1.run


# with explicit match and exclusion
> testOnly Test* -Test1
-$ exists target/Test1.run
$ exists target/Test2.run

$ delete target/Test2.run


# with explicit match and exclusion
> testOnly Test* -Test2
$ exists target/Test1.run
-$ exists target/Test2.run

$ delete target/Test1.run


# with only exclusion
> testOnly -Test2
$ exists target/Test1.run
-$ exists target/Test2.run

$ delete target/Test1.run


# with only exclusion
> testOnly -Test1
-$ exists target/Test1.run
$ exists target/Test2.run

$ delete target/Test2.run


# with only glob exclusion
> testOnly -Test*
-$ exists target/Test1.run
-$ exists target/Test2.run


# with only glob exclusion
> testOnly -T*1 -T*2
-$ exists target/Test1.run
-$ exists target/Test2.run
