You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried mixing in the WordSpec xor FlatSpec into test cases I wanted
to write, and it barfed on me with some errors, about how run was
defined in both traits (whichever one I mixed in and
BeforeAndAfterAll). Some googling turned up that BeforeAndAfterAll or
BeforeAndAfterEach needs to be mixed in LAST.
With the current implementation of ScalatraSuite this isn't workable.
The obvious and kinda sucky work around is to create ScalatraSuite
traits which inherit from each of the appropriate trait such that
there is appropriate functionality as desired.
The text was updated successfully, but these errors were encountered:
http://groups.google.com/group/scalatra-user/browse_thread/thread/aeb8146135081413
The text was updated successfully, but these errors were encountered: