Ling Mao created CASSANDRA-20471: ------------------------------------ Summary: ant testpackage to run all unit tests under specific package name recursively Key: CASSANDRA-20471 URL: https://issues.apache.org/jira/browse/CASSANDRA-20471 Project: Apache Cassandra Issue Type: New Feature Components: Test/unit Reporter: Ling Mao
1. When I make minor improvements to a component (e.g., hint or TCM), I'm unsure if changes might cause related unit tests to fail. Yet, I don't want to run all unit tests due to their time-consuming and resource-intensive. Instead, I prefer to run the following commands to test the related unit tests generally: {code:java} ant testpackage -Dtest.package=org.apache.cassandra.hints ant testpackage -Dtest.package=org.apache.cassandra.tcm{code} 2. This gives me basic confidence before pushing to GitHub, where the office CI/CD can handle further testing. The implementation uses the testlist macro to reduce code and minimize potential errors. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org