thanks ! On Sun, Oct 16, 2011 at 5:52 PM, Bram de Kruijff <[email protected]>wrote:
> On Sun, Oct 16, 2011 at 5:38 PM, Bram de Kruijff <[email protected]> > wrote: > > Hi Toni, > > > > On Sat, Oct 15, 2011 at 8:59 PM, Toni Menzel <[email protected]> > wrote: > >> Hey Bram, > >> i haven't used JUnit Rules myself yet, so yeah, maybe there is something > >> overwritten by the Exam Runner not recognizing the rules anymore. Feel > free > >> to add an issue. Sorry. > > > > Will do, NP ;) > > http://team.ops4j.org/browse/PAXEXAM-293 > > Regards, > Bram > > > >> About Jira Search: I just tried, indeed you are getting an odd error > when > >> searching as a not-logged-in user. However, if you log in, searching > works > >> as expected. We need to check the settings and/or consult Atlassian (who > >> host the instance) about that. (reminder to myself). > > > > Ok, thanks for the tip. > > > > Best, > > Bram > > > >> Toni > >> > >> On Sat, Oct 15, 2011 at 8:38 PM, Bram de Kruijff <[email protected]> > >> wrote: > >>> > >>> Hi list, > >>> > >>> are JUnit4 rules (supposed to be) supported in Pax Exam 2.x.y? I can't > >>> seem get it to work though I'm almost sure I used it before :S I've > >>> tried several configurations on 2.2.0 and 2.3.0.RC2-SNAPSHOT, but no > >>> luck so far. Below a simple test that runs fine in plain vanilla > >>> junit4, but fails with the PaxExam JUnit4TestRunner. > >>> > >>> @RunWith(JUnit4TestRunner.class) > >>> @ExamReactorStrategy(EagerSingleStagedReactorFactory.class) > >>> public class RuleTest { > >>> @Rule > >>> public TestName name = new TestName(); > >>> @Configuration > >>> public Option[] config() { > >>> JUnitBundlesOption option = new JUnitBundlesOption(); > >>> option.version("4.8.1"); > >>> return options(option); > >>> } > >>> @Test > >>> public void doTest1() throws Exception { > >>> Assert.assertNotNull("Expected a non null methodName at this > >>> point", name.getMethodName()); > >>> System.err.println("name : " + name.getMethodName()); > >>> } > >>> } > >>> > >>> Thanks! > >>> Bram > >>> > >>> ps. The JIRA search is down saying "There was a communication problem." > >>> > >>> _______________________________________________ > >>> general mailing list > >>> [email protected] > >>> http://lists.ops4j.org/mailman/listinfo/general > >> > >> > >> > >> -- > >> Toni Menzel Source > >> > >> > >> _______________________________________________ > >> general mailing list > >> [email protected] > >> http://lists.ops4j.org/mailman/listinfo/general > >> > >> > > > > _______________________________________________ > general mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/general > -- Toni Menzel Source <http://tonimenzel.com>
_______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
