specs
Using Specs with unitils
I am trying to get scala specs and unitils-dbunit to work. To use unitils you have to annotate your test class with @RunWith(classOf[UnitilsJUnit4TestClassRunner]) or[详细]
2023-02-17 11:48 分类:问答Approaches to testing that a method is not available on a type
Given a type hierarchy for a game which strongly distinguishes whose turn is next: trait Game trait BlackToPlay extends Game {[详细]
2023-02-16 04:11 分类:问答Iterating over a JSON array in scala
I\'m using the JSON lib net.sf.json(http://json-lib.sourceforge.net/apidocs/net/sf/json/package-summary.html) in my scala code.[详细]
2023-02-12 16:50 分类:问答Exception matcher in Specs BDD library for Scala
Im using the Specs BDD library for writing Scala unit tests (http://code.google.com/p/specs) .In my code if i want to assert that a throws an exception of type ClassNotFoundException, then i can write[详细]
2023-02-09 19:38 分类:问答single stylesheet or numerous
I don\'t know much about speeds and all of that, so I\'m not sure if a huge stylesheet would show significant changes in the loading of the page or not. To keep it simple, I want to use a stylesheet t[详细]
2023-02-08 11:29 分类:问答How do I see the statistics for rcov from the command line?
I\'m running the built-in rake task to generate rcov reports: rake spec:rcov This generate files in my coverage directory, but I would like to see some aggregate stats output to the command console.[详细]
2023-01-29 07:38 分类:问答How to get pretty output from specs+scalacheck with maven?
When I run Specs + Scalacheck tests with IDEA, I get nice pretty output: Specification \"CoreSpec\" The core grammar should[详细]
2023-01-29 04:58 分类:问答Selenium, specs and scala
I\'m looking an info or some开发者_Python百科 project for selenium testing with scala specs. How can I call selenium tests from my scala specs code?I just wrote some code which might be of help. This[详细]
2023-01-27 06:29 分类:问答How does a good "spec" differ from an unclear "pray?"
I am sure everybody knows the 5Ws, a formula for getting the \"full\" story on something which is used in journalism.[详细]
2023-01-04 06:48 分类:问答How to compose a Matcher[Iterable[A]] from a Matcher[A] with specs testing framework
If I have a Matcher[A] how do create a Matcher[Iterable[A]] that is satisfied only if each element of the Iterable satisfies the original Matcher.[详细]
2023-01-02 21:48 分类:问答