Hi Alex
On Mon, Apr 1, 2013 at 4:26 PM, Alex Popiel <
tapo...@gmail.com> wrote:
> Hello, folks.
>
> I've been banging my head against a wall trying to exclude integration tests
> from the test phase when running in maven (and having them run only in the
> integration-test phase, which is after packaging). It looks like the
> command-line Runner has a nifty -q option that could be used for this (with
> a value of """(?<!Integration)(?:Test|Spec)"""), but there doesn't appear to
> be any way to use that option via the scalatest-maven-plugin. Was this a
> deliberate decision, or just an oversight? If the latter, how open would
> people be to a patch which adds such support?
>
I think it likely was an oversight, and yes we'd accept a patch. I'd
like to have all of Runner's functionality accessible through the
scalatest-maven-plugin. After dinner I'll double check that we don't
already support it and merely neglected to document it.
> Note that excluding via tags is insufficient, because of stuff that happens
> in the BeforeAndAfterAll relying on packaging having been done.
>
Can you elaborate on this? You can't use tags because tags don't
exclude beforeAll/afterAll code, just tests, and you are wanting to
exclude the beforeAll/afterAll also?
Thanks.
Bill
> Thanks,
> - Alex
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "scalatest-users" group.
> To post to this group, send email to
scalate...@googlegroups.com
> To unsubscribe from this group, send email to
>
scalatest-use...@googlegroups.com
> For more options, visit this group at
>
http://groups.google.com/group/scalatest-users?hl=en
> ScalaTest itself, and documentation, is available here:
>
http://www.artima.com/scalatest
> ---
> You received this message because you are subscribed to the Google Groups
> "scalatest-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
scalatest-use...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>
--
Bill Venners
Artima, Inc.
http://www.artima.com