I was using 1.1.8 and it works now.My in memory HSQLDB database was not closing/resetting between scenario's.I fixed this by adding ;shutdown=true to the jdb connection url.The strange thing is that I saw different behaviour when I run ordinary junit tests.Btw do you know which kind of issues are fixed in 1.2.0 snapshot?
Marcel Overdijk wrote:I was using 1.1.8 and it works now.My in memory HSQLDB database was not closing/resetting between scenario's.I fixed this by adding ;shutdown=true to the jdb connection url.The strange thing is that I saw different behaviour when I run ordinary junit tests.Btw do you know which kind of issues are fixed in 1.2.0 snapshot?Hi,
Please use interleaved answers according to http://cukes.info/posting-rules.html.
issues fixed in v1.2-SNAPSHOT (mainly in #711):
- autowiring one stepdef class into another
- the @txn transaction support, using the @txn annotation in a feature file executes the scenarios in a transaction.
- the @ContextConfiguration annotation not neede on every stepdef class.
- fallback to use a cucumber.xml configuration file from the classpath if no @ContextConfiguration is found.
Best Regards
Björn