Im looking for an acceptance testing framework with readable syntax (like Cucumber's plain text specs) but as an internal domain specific language (DSL). First I was thinking about ScalaTest but non technical customers run screaming away if they see the syntax!

So is there an acceptance testing framework optimized for readability providing an internal (ideally typesafe) DSL and running on the JVM?

有帮助吗?

解决方案

Well, for a Cucumber-like framework running on the JVM, you can use cucumber-jvm. In the github page, there are examples for a variety of java and java-based languages such as Groovy and Scala.

I don't really understand what you mean by "internal" dsl. Cucumber-jvm features are plain Given-When-Then user stories in .feature files, why wouldn't they fit your definition?

I've been using it with Java and Junit, it's almost as simple as Cucumber's ruby implementation.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top