You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Tibor17 <ti...@googlemail.com.INVALID> on 2019/05/27 12:44:08 UTC

Re: Using POJO Tests: setUp() and tearDown() methods

Hi Bruce,

We have fixed this issue, see the Jira https://issues.apache.org/jira/browse/SUREFIRE-1669

Cheers
Tibor

On 2018/09/28 04:04:38, Bruce Alspaugh <c....@gmail.com> wrote: 
> I was using Surefire's ability to run POJO tests as described here:> 
> 
> https://maven.apache.org/surefire/maven-surefire-plugin/examples/pojo-test.html> 
> 
> I noticed my setUp() and tearDown() methods were not being called. > 
> However, when I make those methods static they are called. I didn't see > 
> a requirement that the methods have to be static in the documentation. > 
> Is that a bug in the software or the documentation?> 
> 
> Bruce> 
> 
> 
> ---------------------------------------------------------------------> 
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org> 
> For additional commands, e-mail: users-help@maven.apache.org> 
> 
> 
Sent from Mail for Windows 10