You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Christian Edward Gruber <ch...@gmail.com> on 2008/05/13 20:56:36 UTC
POJO tests fixture setup and tear-down (Was: Re: [VOTE][RESULT] Release Maven Surefire version 2.4.3)
Congrats.
Moving on to future efforts, I added the final step in support for
setup/teardown of fixture in the PojoTestSet. I logged this bug (http://jira.codehaus.org/browse/SUREFIRE-498
) [with patch supplied] and called it a bug since everything was
prepped as if it would execute fixture methods, but it has empty
implementation from the appropriate invoker methods. So I hijacked
the "find test* methods" process to also look for "setUp" and
"tearDown" and stored them for later execution by these invoker
methods. I also put in some docs for this in the plugin .apt files.
I'd really love to see it included in the next version, as it's not a
big change, but really makes my tests cleaner.
regards,
Christian.
On 13-May-08, at 14:20 , Dan Fabulich wrote:
>
> Vote passed.
>
> +1 binding: Dan Fabulich, Herve Boutemy, Brett Porter, Olivier Lamy,
> Fabrizio Giustina
> +1 non-binding: Dan Tran
>
> I'll stage the artifacts.
>
> -Dan
>
> ---------- Forwarded message ----------
> Date: Fri, 2 May 2008 14:14:19 -0700 (Pacific Daylight Time)
> From: Dan Fabulich <da...@fabulich.com>
> Reply-To: Maven Developers List <de...@maven.apache.org>
> To: Maven Developers List <de...@maven.apache.org>
> Subject: [VOTE] Release Maven Surefire version 2.4.3
>
>
> Hi,
>
> We solved 11 issues:
> http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10541&styleName=Html&version=14255
>
> There are still a couple of issues left in JIRA:
> http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&pid=10541&status=1
>
> Staging repo:
> http://people.apache.org/~dfabulich/staging-repo/
>
> Guide to testing staged releases:
> http://maven.apache.org/guides/development/guide-testing-releases.html
>
> Vote open for 72 hours.
>
> [ ] +1
> [ ] +0
> [ ] -1
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: POJO tests fixture setup and tear-down (Was: Re: [VOTE][RESULT] Release Maven Surefire version 2.4.3)
Posted by Christian Edward Gruber <ch...@gmail.com>.
Very constrained environment. No 1.5 and preferences for fewer
imports. Probably not a big deal, but I was doing a fairly narrow
thing for a client, and JUnit and TestNG both added complexity to what
I was doing. Probably won't ever use them again, but I mostly can't
see the advantage of JUnit over POJO in maven, except for UI
convenience. TestNG, on the other hand, can do thread-pooled tests,
so I will often use that.
Christian.
On 13-May-08, at 21:18 , Dan Fabulich wrote:
> Christian Edward Gruber wrote:
>
>> Moving on to future efforts, I added the final step in support for
>> setup/teardown of fixture in the PojoTestSet.
>
> Patch appreciated; it will be considered for the next Surefire
> version.
>
> I didn't know people really used the Pojo tests, partly because I've
> never understood what they're good for. Why not just use JUnit?
>
> -Dan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: POJO tests fixture setup and tear-down (Was: Re: [VOTE][RESULT]
Release Maven Surefire version 2.4.3)
Posted by Dan Fabulich <da...@fabulich.com>.
Christian Edward Gruber wrote:
> Moving on to future efforts, I added the final step in support for
> setup/teardown of fixture in the PojoTestSet.
Patch appreciated; it will be considered for the next Surefire version.
I didn't know people really used the Pojo tests, partly because I've never
understood what they're good for. Why not just use JUnit?
-Dan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org