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
> <https://issues.apache.org/jira/browse/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 test class to quickly iterate
> over it; I tried running
>
> mvn -Dtest=org.apache.spark.ml.ProbabilisticClassifierSuite test
>
> and (without the fully qualified class name)
>
> mvn -Dtest=ProbabilisticClassifierSuite test
>
> but both commands resulted in running all tests, both when launching Maven
> from the project root and from the MLlib module root. I've tried to look
> this up in the mailing list archives but haven't had luck so far.
>
> How can I run a single test suite? Thanks in advance!
>
> --
> BR,
> Stefano Baghino
>

Reply via email to