Reviewing the Book <<programming scala>> with the Chapter "Functional Prgoramming in Scala" and "Domain-Specific Languages in Scala". Also continue studying the ScalaCheck with the Classes and Objects.
And following a tutorial about the ScalaTest which is an open-source test framework for the Java Platform. The property based test could be described at a high level preconditions of the method under test and specify some aspect of the result that should hold no matter what valid list is passed. In the ScalaTest, properties are specified as functions. Tables-driven and generator-driven property checks are introduced. Generator-driven property checks are performed with integration with ScalaCheck.
regards
yifei
And following a tutorial about the ScalaTest which is an open-source test framework for the Java Platform. The property based test could be described at a high level preconditions of the method under test and specify some aspect of the result that should hold no matter what valid list is passed. In the ScalaTest, properties are specified as functions. Tables-driven and generator-driven property checks are introduced. Generator-driven property checks are performed with integration with ScalaCheck.
regards
yifei