You are on page 1of 1

Dcover Arguments:

create ${java_type_name} --class-name-template=$"{CLASS_NAME}Tests" --merge --


skip-intermediate-test-verification --skip-test-validation --batch

Explanation:
--class-name-template=$"{CLASS_NAME}Tests"
Will use a class name template for standard Java test class naming conventions;
this should be customized to match your test naming convention.

--merge
Will merge our Diffblue tests into your existing test classes instead of replacing
them. Without this command, Diffblue Cover will overwrite all tests that match the
name format specified using --class-name-template

--skip-intermediate-test-verification --skip-test-validation
Will ensure you always get all of the tests generated by Diffblue Cover. Any
failing tests can be manually patched up, by default Diffblue Cover would have
deleted these tests as you need 100% test success in a CI pipeline, but in an IDE
these tests are valuable for a developer to manually repair.

--batch
Will reduce the console output to only warnings and errors

You might also like