Running individual test classes

2015-11-03 Thread Stefano Baghino
Hi all, I'm new to contributing to Spark (and Apache projects in general); I've started working on SPARK-7425 and have implemented what looks like a viable solution. Now I'd like to test it, however I'm having some trouble running an individual te

Re: Running individual test classes

2015-11-03 Thread Michael Armbrust
In SBT: build/sbt "mllib/test-only *ProbabilisticClassifierSuite" On Tue, Nov 3, 2015 at 9:27 AM, Stefano Baghino < stefano.bagh...@radicalbit.io> wrote: > Hi all, > > I'm new to contributing to Spark (and Apache projects in general); I've > started working on SPARK-7425 >

Re: Running individual test classes

2015-11-03 Thread Nitin Goyal
In maven, you might want to try following :- -DwildcardSuites=org.apache.spark.ml.ProbabilisticClassifierSuite On Tue, Nov 3, 2015 at 2:42 PM, Michael Armbrust wrote: > In SBT: > > build/sbt "mllib/test-only *ProbabilisticClassifierSuite" > > On Tue, Nov 3, 2015 at 9:27 AM, Stefano Baghino < >

Re: Running individual test classes

2015-11-03 Thread Stefano Baghino
Oh, I saw POMs and thought I was supposed to use Maven. Thank you so much for the help, I'll try it as soon as possible. On Tue, Nov 3, 2015 at 10:24 AM, Nitin Goyal wrote: > In maven, you might want to try following :- > > -DwildcardSuites=org.apache.spark.ml.ProbabilisticClassifierSuite > > On

Re: Running individual test classes

2015-11-03 Thread Michael Armbrust
We support both build systems. We use maven to publish the canonical distributions as it interoperates better with downstream consumers. Most of the developers that I know, however, use SBT for day to day development. On Tue, Nov 3, 2015 at 11:36 AM, Stefano Baghino < stefano.bagh...@radicalbit.

Re: Running individual test classes

2015-11-03 Thread Stefano Baghino
Good to know, thank you very much. :) On Tue, Nov 3, 2015 at 12:02 PM, Michael Armbrust wrote: > We support both build systems. We use maven to publish the canonical > distributions as it interoperates better with downstream consumers. Most > of the developers that I know, however, use SBT for

Re: Running individual test classes

2015-11-03 Thread Ted Yu
My experience is that going through tests in each module takes some time before reaching the test specified by the wildcard. Some test, such as SparkLauncherSuite, would run even if not in wildcard. FYI > On Nov 3, 2015, at 1:24 AM, Nitin Goyal wrote: > > In maven, you might want to try fo

Re: Running individual test classes

2015-11-03 Thread Stefano Baghino
Thank you for the tip, I'll keep that in mind. On Tue, Nov 3, 2015 at 1:57 PM, Ted Yu wrote: > My experience is that going through tests in each module takes some time > before reaching the test specified by the wildcard. > > Some test, such as SparkLauncherSuite, would run even if not in wildca