The section below provides explanations for flags used in system testing. For other flags, please visit the CLI syntax reference under Appendix section of User Guide.
--test-mode: Enables test mode behavior.
AuthorConfiguration.hasAuthorConfigFileto be set to
falseto pass. The exact reason is unknown as the test cases are pretty old to track back. Tracing this shows that there is something to do with
--fresh-cloning. Fresh cloning is always
falsewhen running RepoSense normally, and is only used in system tests.
--fresh-cloning: Clones the repo again if it has been cloned before.
--test-modeflag to be enabled.