Hi,
I've got my story tests extend JUnitStory and an Embedder for running all
stories.
Now i can run tests during build using Embedder and individual tests in IDE.

I looked at the TraderEmbedderWithSpringJUnit4ClassRunner which adds Spring
integration.
Some of my story tests require Hibernate SessionFactory for data setup.
Since stories already extend JUnitStory, i can't extend
AbstractTransactionalJUnit4SpringContextTests and i'm not able to get
Autowiring working in Story tests.

Is there a way to Autowire session factory or existing Spring beans when
running stories individually?

Thanks,
Sathish

Reply via email to