Hi Oscar

Thanks.  I had the annotation on the feature file but I also needed other 
domain fixtures installed as part of the integration test.  I just added the 
annotation for the other fixtures and it worked.

Cheers
Dharmesh

From: GESCONSULTOR - Óscar Bou [mailto:[email protected]]
Sent: Friday, February 14, 2014 2:31 PM
To: users
Subject: Re: Integration Tests

Hi, Dharmesh.

Have you annotated the .feature file with  ...?

@TopUpCardDetailsServiceFixture


When that annotation is found on a feature file is when the fixture is loaded.

If you put a breakpoint on the

scenarioExecution().install(new TopUpCardDetailsServiceFixture());

does it stop?

Regards,

Oscar


El 14/02/2014, a las 15:21, Chohan, Dharmesh 
<[email protected]<mailto:[email protected]>> escribió:


Hi

I have written some fixtures which I need install during integration tests.  
Couple of fixtures work during integration tests but the rest does not install 
the fixture.

I have added the fixtures in the CatalogOfFixturesGlue.java file.  For example

@Before(value={"@integration", "@TopUpCardDetailsServiceFixture"}, order=20000)
   public void integrationFixtures() throws Throwable {
       scenarioExecution().install(new TopUpCardDetailsServiceFixture());
   }

Please can someone advice what is happening.  Or provide a help link on how to 
configure integration  tests.

Thanks in advance.

Dharmesh


Óscar Bou Bou
Responsable de Producto
Auditor Jefe de Certificación ISO 27001 en BSI
CISA, CRISC, APMG ISO 20000, ITIL-F

[cid:[email protected]]   902 900 231 / 620 267 520
[cid:[email protected]]   http://www.twitter.com/oscarbou

[cid:[email protected]]   http://es.linkedin.com/in/oscarbou

[cid:[email protected]]   
http://www.GesConsultor.com<http://www.gesconsultor.com/>

[cid:[email protected]]

Este mensaje y los ficheros anexos son confidenciales. Los mismos contienen 
información reservada que no puede ser difundida. Si usted ha recibido este 
correo por error, tenga la amabilidad de eliminarlo de su sistema y avisar al 
remitente mediante reenvío a su dirección electrónica; no deberá copiar el 
mensaje ni divulgar su contenido a ninguna persona.
Su dirección de correo electrónico junto a sus datos personales constan en un 
fichero titularidad de Gesdatos Software, S.L. cuya finalidad es la de mantener 
el contacto con Ud. Si quiere saber de qué información disponemos de Ud., 
modificarla, y en su caso, cancelarla, puede hacerlo enviando un escrito al 
efecto, acompañado de una fotocopia de su D.N.I. a la siguiente dirección: 
Gesdatos Software, S.L. , Paseo de la Castellana, 153 bajo - 28046 (Madrid), y 
Avda. Cortes Valencianas num. 50, 1ºC - 46015 (Valencia). Asimismo, es su 
responsabilidad comprobar que este mensaje o sus archivos adjuntos no contengan 
virus informáticos, y en caso que los tuvieran eliminarlos.






Reply via email to