Start sbt Once - Avoid the Startup Delay for sbt
Just issue the 'sbt' command, then type individual commands at the sbt prompt. This saves the startup time for sbt itself.
Run exactly one Integration test
This sbt command runs exactly one integration test:
daffodil-cli/IntegrationTest/testOnly org.apache.daffodil.parsing.TestCLIparsing -- --tests=test_XXX_CLI_Parsing_SimpleParse_sax
You can use wildcards in the class name to shorten the command line, but this slows down the testing because it has to search for the test. For example: this works, though a bit more slowly:
daffodil-cli/IntegrationTest/testOnly *.TestCLIparsing -- --tests=test_XXX_CLI_Parsing_SimpleParse_sax
To run one regular test change the module from daffodil-cli to the other module, change IntegrationTest to just "Test", and the class and test name for your test.
If you leave off the module, the command will still work, just more slowly, as it must scan all modules to find the test class.