[jira] [Commented] (CASSANDRA-10651) allow unit testing by defined list of files

2015-11-05 Thread Aleksey Yeschenko (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-10651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14992658#comment-14992658
 ] 

Aleksey Yeschenko commented on CASSANDRA-10651:
---

Committed as 
[c3678f6b64739da2fb4f96973dbe0587926b6545|https://github.com/apache/cassandra/commit/c3678f6b64739da2fb4f96973dbe0587926b6545]
 to trunk, thanks.

> allow unit testing by defined list of files
> ---
>
> Key: CASSANDRA-10651
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10651
> Project: Cassandra
>  Issue Type: Improvement
>Reporter: Russ Hatch
>Assignee: Russ Hatch
> Fix For: 3.2
>
> Attachments: test_slice_001.txt, trunk-10651-v2.txt, 
> trunk-10651-v3.txt, trunk-10651.txt
>
>
> "Testing by list" allows distributing defined test lists across machines to 
> run tests in parallel.
> Additionally it can be used by devs to create a simple list of tests they are 
> interested in during feature development, without crafting a complicated 
> command.
> A final reason would be adding a new way to divide tests into suites without 
> requiring more unique ant targets (which may differ in subtle ways for better 
> or worse).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-10651) allow unit testing by defined list of files

2015-11-04 Thread Ariel Weisberg (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-10651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14990426#comment-14990426
 ] 

Ariel Weisberg commented on CASSANDRA-10651:


Ok getting really picky here. In the description it's not just running a list 
it's running out of a file. Also you could document the property that specifies 
the file in the description so ant -p will basically print usage information.

> allow unit testing by defined list of files
> ---
>
> Key: CASSANDRA-10651
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10651
> Project: Cassandra
>  Issue Type: Improvement
>Reporter: Russ Hatch
>Assignee: Russ Hatch
> Fix For: 3.2
>
> Attachments: test_slice_001.txt, trunk-10651-v2.txt, trunk-10651.txt
>
>
> "Testing by list" allows distributing defined test lists across machines to 
> run tests in parallel.
> Additionally it can be used by devs to create a simple list of tests they are 
> interested in during feature development, without crafting a complicated 
> command.
> A final reason would be adding a new way to divide tests into suites without 
> requiring more unique ant targets (which may differ in subtle ways for better 
> or worse).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-10651) allow unit testing by defined list of files

2015-11-04 Thread Ariel Weisberg (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-10651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14990356#comment-14990356
 ] 

Ariel Weisberg commented on CASSANDRA-10651:


Can you update the description of the target?

"test.pathsfile" doesn't seem very intuitive to me since it isn't a list of 
paths. test.classesfile, test.classlistfile, or test.testsfile maybe?

I tested this and everything seems to work as expected. The other target still 
work, and I can pass parameters like usejacoco through the new target.

> allow unit testing by defined list of files
> ---
>
> Key: CASSANDRA-10651
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10651
> Project: Cassandra
>  Issue Type: Improvement
>Reporter: Russ Hatch
>Assignee: Russ Hatch
> Fix For: 3.2
>
> Attachments: test_slice_001.txt, trunk-10651.txt
>
>
> "Testing by list" allows distributing defined test lists across machines to 
> run tests in parallel.
> Additionally it can be used by devs to create a simple list of tests they are 
> interested in during feature development, without crafting a complicated 
> command.
> A final reason would be adding a new way to divide tests into suites without 
> requiring more unique ant targets (which may differ in subtle ways for better 
> or worse).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-10651) allow unit testing by defined list of files

2015-11-04 Thread Russ Hatch (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-10651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14990188#comment-14990188
 ] 

Russ Hatch commented on CASSANDRA-10651:


[~aweisberg] could you offer a review?

> allow unit testing by defined list of files
> ---
>
> Key: CASSANDRA-10651
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10651
> Project: Cassandra
>  Issue Type: Improvement
>Reporter: Russ Hatch
>Assignee: Russ Hatch
> Fix For: 3.2
>
> Attachments: test_slice_001.txt, trunk-10651.txt
>
>
> "Testing by list" allows distributing defined test lists across machines to 
> run tests in parallel.
> Additionally it can be used by devs to create a simple list of tests they are 
> interested in during feature development, without crafting a complicated 
> command.
> A final reason would be adding a new way to divide tests into suites without 
> requiring more unique ant targets (which may differ in subtle ways for better 
> or worse).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-10651) allow unit testing by defined list of files

2015-11-04 Thread Russ Hatch (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-10651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14989832#comment-14989832
 ] 

Russ Hatch commented on CASSANDRA-10651:


example usage (and example input file) would be used as:

ant testclasslist -Dtest.pathsfile=test_slice_001.txt

> allow unit testing by defined list of files
> ---
>
> Key: CASSANDRA-10651
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10651
> Project: Cassandra
>  Issue Type: Improvement
>Reporter: Russ Hatch
>Assignee: Russ Hatch
> Fix For: 3.2
>
> Attachments: test_slice_001.txt, trunk-10651.txt
>
>
> "Testing by list" allows distributing defined test lists across machines to 
> run tests in parallel.
> Additionally it can be used by devs to create a simple list of tests they are 
> interested in during feature development, without crafting a complicated 
> command.
> A final reason would be adding a new way to divide tests into suites without 
> requiring more unique ant targets (which may differ in subtle ways for better 
> or worse).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CASSANDRA-10651) allow unit testing by defined list of files

2015-11-04 Thread Russ Hatch (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-10651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14989911#comment-14989911
 ] 

Russ Hatch commented on CASSANDRA-10651:


CI usage example here: 
https://cassci.datastax.com/view/Dev/view/knifewine/job/rhatch_scratch_coverage_trunk_utest/

> allow unit testing by defined list of files
> ---
>
> Key: CASSANDRA-10651
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10651
> Project: Cassandra
>  Issue Type: Improvement
>Reporter: Russ Hatch
>Assignee: Russ Hatch
> Fix For: 3.2
>
> Attachments: test_slice_001.txt, trunk-10651.txt
>
>
> "Testing by list" allows distributing defined test lists across machines to 
> run tests in parallel.
> Additionally it can be used by devs to create a simple list of tests they are 
> interested in during feature development, without crafting a complicated 
> command.
> A final reason would be adding a new way to divide tests into suites without 
> requiring more unique ant targets (which may differ in subtle ways for better 
> or worse).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)