You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ling Mao (Jira)" <ji...@apache.org> on 2025/03/23 14:27:00 UTC
[jira] [Assigned] (CASSANDRA-20471) ant testpackage to run all unit tests under specific package name recursively
[ https://issues.apache.org/jira/browse/CASSANDRA-20471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ling Mao reassigned CASSANDRA-20471:
------------------------------------
Assignee: Ling Mao
> 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
> Assignee: 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 in my local due to their time-consuming and resource-intensive nature. 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}
> This gives me basic confidence before pushing to GitHub, where the official CI/CD can handle further testing.
> 2. 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org