[
https://issues.apache.org/jira/browse/CASSANDRA-20471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ling Mao updated CASSANDRA-20471:
---------------------------------
Priority: Low (was: Normal)
> 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
> Priority: Low
> Fix For: 5.0.x
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]