users@jersey.java.net

Re: [Jersey] JBehave and Jersey Test Framework integration

From: Pavel Bucek <Pavel.Bucek_at_Sun.COM>
Date: Tue, 25 May 2010 14:33:27 +0200

Hello Bruno,

I guess you probably can subclass JerseyTest in your
org.jbehave.scenario.Scenario descendant, call manually
JerseyTest.setUp() method in init phase, perform your tests and call
JerseyTest.tearDown().

It would not be as clear as simple Jersey or JBehave test but it should
work.

Regards,
Pavel

On 5/25/10 12:30 PM, Bruno Cardoso wrote:
> Hi
>
> Is it possible to integrate both frameworks? Is it possible to create
> a Jersey Testcase without extending JerseyTest ? because JBehave
> already forces you to extend org.jbehave.scenario.Scenario.
>
> Thanks