[Lift] Re: unit test framework

2009-07-02 Thread Bill Venners
Hi ph, If you end up needing to use JUnit, you can import Assertions or ShouldMatchers or MustMatchers from ScalaTest to get a nicer scala-like assertion syntax inside JUnit tests. JUnit won't care it was written in Scala or used ScalaTest assertions and will run it and generate JUnit-compatible

[Lift] Re: unit test framework

2009-07-02 Thread etorreborre
Hi Bill and ph, Using specs matchers inside a JUnit test class is also possible using the org.specs.SpecsMatchers trait. However, I realize that both ScalaTest and specs suffer from the same issue in that scenario. When expectations are failing an exception is thrown but it is interpreted by

[Lift] Re: unit test framework

2009-07-01 Thread etorreborre
Hi, My understanding is that historically the first tests for lift were proposed as JUnit tests. Then I implemented a few tests using specs (which I created), mostly for the lift-util module. Now, to answer your question, specs is compatible with JUnit, so you can write specs and make them