Hi all Lift-developers,
I have noticed a few commits recently where the declarations for
specifications could be reduced to something simpler.
For example:
import org.specs._
import org.specs.runner._
class BindingsSpecTest extends Runner(BindingsSpec) with JUnit with
Console
object BindingsSpe
Hi all,
I added a specs version as well.
Eric.
On Oct 2, 2:37 pm, Bill Venners wrote:
> Hi Ryan, David, Eric,
>
> I added a ScalaTest version to your wiki page:
>
> http://wiki.github.com/dpp/liftweb/how-to-unit-test-lift-snippets-wit...
>
> Eric you may want to add a specs version.
>
> Bill
>
{
DatabaseContext.setup(this) // set the specification context on this
specification
"A Users repository" can {
"create a user" in {
val eric = User("etorreborre", "password", "Eric")
Users.mergeAndFlush(eric) // the Users objec
Hi,
I'm trying to get a Lift/JPA demo rolling but I can't get Scala work
with Hibernate validators (as it has been noticed before:
https://lampsvn.epfl.ch/trac/scala/ticket/1846,
https://lampsvn.epfl.ch/trac/scala/ticket/2245,
https://lampsvn.epfl.ch/trac/scala/ticket/2252).
My question is: what
Hi,
Anyone is interested in coding the same app with Lift and have a look
at the numbers?
http://ptrthomas.wordpress.com/2009/09/14/perfbench-update-tapestry-5-and-grails
Eric.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
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 JUn
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 runna
Thanks David!
And now I can happily see that I've just passed the 1000 tests bar:
http://hudson.scala-tools.org/job/specs,...
Eric.
On Apr 17, 7:16 am, David Pollak
wrote:
> Folks,
>
> I've put hudson back online... it's available athttp://hudson.scala-tools.org
>
> If you've got a project tha
Thanks a lot David for putting the machine back online.
I'm wondering if there's an item missing in the list. I've been trying
to upload a new jar to the Nexus repository but this didn't work. Is
it also back up?
Thanks,
Eric.
David Pollak wrote:
> Folks,
> scala-tools.org is back online. Hud
Hi,
The Wiki example specification, which was previously specified using
JMock broke when we migrated to Scala 2.7.2 (compiler issue, couldn't
solve it).
However, the latest version of specs (1.4.4-SNAPSHOT) provides an
integration with Mockito which is even nicer when just doing stubbing.
So th
Anyone can comment the ServerSide article:
http://www.theserverside.com/news/thread.tss?thread_id=54079?
There are questions on accessibility and a template engine.
Eric.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
Hi,
I don't know how this could help because I've been away from lift code
for a long time. But I remember that I tried to use mocks with JMock
and specs in order to specify the "example" site (\liftweb\sites
\example\src\test\scala\net\liftweb\example\snippet).
The idea was to simulate a sessio
Hi Alex,
Knowing that you can write specs which can be run as JUnit tests,
can't the "continuous testing" plugin in Eclipse work with that?
Or would you like something simple like autotest in Ruby which polls
the modified files regularly and executes the tests in the console if
any file is modif
Hi,
I would like to announce a new specs release, 1.4.3.
This release fixes the following issues:
-issue 50: subexamples reporting
-issue 51, 53: "behave like" is not working
-issue 55: beIn, notBeIn restrictions
-timer displaying a total time of 0 for composed specifications
executed in the Co
Hi David and Rickard,
If you replace property(...) by Prop.forAll(...), the warnings should
disappear.
On the other hand I don't know why forAll(...) only doesn't work.
Cheers,
Eric.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to t
Hi Kris, welcome!
On Oct 14, 2:24 pm, TylerWeir <[EMAIL PROTECTED]> wrote:
> Welcome Kris!
>
> On Oct 14, 9:13 am, Tim Perrett <[EMAIL PROTECTED]> wrote:
>
>
>
> > Welcome Kris!
>
> > On Oct 14, 1:13 pm, "Viktor Klang" <[EMAIL PROTECTED]> wrote:
>
> > > Glad to have you aboard Kris!
>
> > > On Tu
16 matches
Mail list logo