Re: Fwd: [Lift] Cleaning up warnings

2009-02-02 Thread etorreborre
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

[Lift] [ANN] New specs release: 1.4.3

2009-02-11 Thread etorreborre
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

[Lift] Re: You guys rock!

2009-03-11 Thread etorreborre
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

[Lift] Re: How can I use unit tests with S.?("key") ?

2009-03-11 Thread etorreborre
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

[Lift] Re: Build Comet applications using Scala, Lift, and jQuery

2009-03-26 Thread etorreborre
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

[Lift] Wiki example with specs and Mockito

2009-04-02 Thread etorreborre
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

[Lift] Re: Scala-tools.org is back online

2009-04-06 Thread etorreborre
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

[Lift] Re: Hudson for Scala-tools.org is back online

2009-04-16 Thread etorreborre
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

[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 runna

[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 JUn

[Lift] Wicket vs Tapestry vs Grails vs Lift?

2009-09-16 Thread etorreborre
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

[Lift] Re: Please welcome Kris Nuttycombe as a Lift committer

2008-10-14 Thread etorreborre
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

[Lift] Less boilerplate in your specifications / tests

2010-02-28 Thread etorreborre
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

[Lift] Lift and Hibernate validators

2009-09-28 Thread etorreborre
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

[Lift] Re: Testing snippets that depend on a user logged in

2009-10-01 Thread etorreborre
{ 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

[Lift] Re: Testing snippets that depend on a user logged in

2009-10-01 Thread etorreborre
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 >