ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Specs2 3.x
ScalaSyd
Changes
User guide
API
ScalaCheck
HTML
& more
If you missed the beginning¡­
If you missed the beginning¡­
And more!
And more!
3.x, why?
Why?
http://bit.ly/lambdajam-2014-specs2
Scalaz-stream
inside
9
Changes
10
User Guide
User Guide
User Guide
User Guide
User Guide
User Guide
Home Page
API - breaks
API - breaks
Before After
API - breaks
Contexts
Specification execution
Text1Text1
Example1Example1
Example2Example2
Example3Example3
Text1Text1
Step 1Step 1
Example2Example2
Example3Example3
Example1Example1
BeforeAll / AfterAll
Text1Text1
Step 1Step 1
Example2Example2
Example3Example3
Example1Example1
BeforeAllBeforeAll
AfterAllAfterAll
Example
Example
Example1Example1
This is a great exampleThis is a great example
R : ResultR : Result
BeforeEach / AfterEach
BeforeEach / AfterEach
Example1Example1
This is a great exampleThis is a great example
before
after
before
after
R : ResultR : Result
ForEach
ForEach
Example1Example1
This is a great exampleThis is a great example
val t: T = ???
e
Result
val t: T = ???
e
Result
T => R : ResultT => R : Result
ForEach
Example1Example1
This is a great exampleThis is a great example
val t: T = ???
before
try f(t)
finally after
val t: T = ???
before
try f(t)
finally after
T => R : ResultT => R : Result
API - breaks
Before After
API ¨C nesting / graph
Before After
Specification links
Text1Text1
Link1Link1
Link2Link2
exampleexample
Example1Example1
Example2Example2
Example3Example3
Example4Example4
Link3Link3
Specification links
sbt> test-only Spec1
[info] Spec1
[info] Text1
[info] * Spec2
[info] * Spec3
[info] + example
sbt> test-only Spec1
[info] Spec1
[info] Text1
[info] * Spec2
[info] * Spec3
[info] + example
sbt> test-only Spec1 -- all
[info] Spec2
[info] Spec3
[info]
[info] Spec1
[info] Text1
[info] + Spec2
[info] + Spec3
[info] + example
sbt> test-only Spec1 -- all
[info] Spec2
[info] Spec3
[info]
[info] Spec1
[info] Text1
[info] + Spec2
[info] + Spec3
[info] + example
Before / After everything!
BeforeBefore
AfterAfter
Example1Example1
Example2Example2
BeforeBefore
AfterAfter
Spec nSpec n
API - fragments After
API - breaks
Before After
New stuff!
API - Specification After
API ¨C Reader pattern After
API ¨C Reader pattern After
API ¨C Reporting After
Composable!
custom
HTML
HTML
HTML
Foreach - functionally
ScalaCheck
ScalaCheck
& more
Text1Text1 Example1Example1 Example2Example2 Example3Example3
Text1Text1 Example1Example1 Example2Example2 Example3Example3
Example2.1Example2.1 Example2.2Example2.2
& more
& more
& more
sbt> test-only FuturesSpec -- timefactor 3sbt> test-only FuturesSpec -- timefactor 3
& more
Can you help?
? try it and report issues!
? extends the Notifier for Steps
? fix/close #256: ¡°make specs2 aware of JUnit categories¡±
? create a PDF Printer
? create an Eclipse plugin
? add coverage to the build
? add more specs/properties!
Thanks!
3.x, Doc!

More Related Content

Specs2 3.4

Editor's Notes

  • #9: Design + FP Html issues Scalaz stream + Action monad
  • #12: Search box! More topics in the tree
  • #20: Kuleshov effect
  • #31: Single execution: - link -> get status - see -> markdown ¡®All¡¯ execution: - link -> execute - see -> markdown