These are chat archives for etorreborre/specs2

6th
Aug 2015
Angelo Genovese
@agenovese
Aug 06 2015 19:46
Not sure if this is the place to ask, but I’m building out a set of tests which need to setup a db (using dbunit) start up spark then shutdown spark and clean up the db. I was hoping to put the work into a pair of traits that I could mix into each test, but I haven’t been able to find how to mix 2 AroundEach traits into a test. Is this possible? And is there perhaps an example I could base the work on?
Angelo Genovese
@agenovese
Aug 06 2015 22:28
Figured this out, just created a trait that exteds both traits and then overrides its own around method with the composition of the 2 parent traits. (in case anyone else runs into this)
Eric Torreborre
@etorreborre
Aug 06 2015 22:50
Yes that's it