开发者

How to do testing with lift applications?

开发者 https://www.devze.com 2022-12-10 01:36 出处:网络
How to do testing and is there开发者_运维知识库 something similar like Rack::Test with ruby frameworks? You can use Specs, ScalaTest and JUnit (and any other java test framework), theres some examples

How to do testing and is there开发者_运维知识库 something similar like Rack::Test with ruby frameworks?


You can use Specs, ScalaTest and JUnit (and any other java test framework), theres some examples on the new wiki.

Read this!


I don't know much about ruby, so maybe don't get your point. But what about Jitr?

Jitr (pronounced "jitter") is a JUnit Integration Test Runner. It allows your web application integration tests to easily run against a lightweight web container in the same JVM as your tests.

You can use it with JUnit 4's @RunWith annotation. In Scala: @RunWith(classOf[Jitr]).


This may be of help, it's on Lifts wiki pages. There are examples using Junit, Scalatest and and Specs.

How To: Unit test lift snippets with a logged in user

0

精彩评论

暂无评论...
验证码 换一张
取 消