Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Specs2 2.3
whirlwind tour
ScalaDays
Whirlwind tour
Acceptance/Unit
Matchers
Quick start
Mockito
G/W/T
ScalaCheck
Contexts
Pending until fixed
Command line
Fai...
Bridging the gap
informal
formal
extensive
refactored
text code
readable
executable
current
versioned
Bridging the gap
5
First steps
Quick start
HelloWorldSpec.scala
With sbt
With IntelliJ
Whirlwind tour
Acceptance/Unit
Quick start
Acceptance / Unit
Whirlwind tour
Acceptance/Unit
Matchers
Quick start
Equality
Typed equality
Differences
Differences
Main types
Traversable
Traversable
Your own
And others…
xml files
case classes
…maps
termination
Whirlwind tour
Acceptance/Unit
Matchers
Quick start
Execution
Expectations
Parallel by default
Control the execution
Control the execution
Isolation
Selection
Selection
Selection
Whirlwind tour
Acceptance/Unit
Matchers
Quick start
Contexts
Execution
Before
Around
Fixture
Applications
Database setup/cleanup
Web application context
Timing
Contexts chaining
35
Full speed
Whirlwind tour
Matchers
Quick startScalaCheck
Contexts
Execution
Acceptance/Unit
ScalaCheck
ScalaCheck
Whirlwind tour
Acceptance/Unit
Matchers
Quick startScalaCheck
Contexts
DataTables
Execution
DataTables
Whirlwind tour
Acceptance/Unit
Matchers
Quick start
Mockito
ScalaCheck
Contexts
DataTables
Execution
Mockito
43
Moonwalk!
Whirlwind tour
Acceptance/Unit
Matchers
Quick start
Mockito
G/W/T
ScalaCheck
Contexts
DataTables
Execution
Given / When / Then
Given / When / Then
Whirlwind tour
Acceptance/Unit
Matchers
Quick start
Mockito
G/W/T
ScalaCheck
Contexts
Scripts
DataTables
Execution
No more operators!
Groups
Groups
Whirlwind tour
Acceptance/Unit
Matchers
Quick start
Mockito
G/W/T
ScalaCheck
Contexts
Command line
Scripts
DataTables
Exec...
Command-line arguments
Whirlwind tour
Acceptance/Unit
Matchers
Quick start
Mockito
G/W/T
ScalaCheck
Contexts
Command line
Failures
Scripts
DataTa...
Detailed failures
Whirlwind tour
Acceptance/Unit
Matchers
Quick start
Mockito
G/W/T
ScalaCheck
Contexts
Pending until fixed
Command line
Fai...
Don’t have time to fix it?
Whirlwind tour
Acceptance/Unit
Matchers
Quick start
Mockito
G/W/T
ScalaCheck
Contexts
Pending until fixed
Command line
Fai...
Snippets
Auto examples
60
Fly
Whirlwind tour
Acceptance/Unit
Matchers
Mockito
G/W/T
ScalaCheck
Contexts
Pending until fixed
Command line
Failures
Script...
Specs2 3.0
Presentation at LambdaJam 2014
“Online” specifications
More library-like
Optional DSLs
Modular reporters
Some A...
How can you help?
Eclipse plugin
Html reporting
Web testing
Whirlwind tour
Acceptance/Unit
Matchers
Mockito
G/W/T
ScalaCheck
Contexts
Pending until fixed
Command line
Failures
Script...
Upcoming SlideShare
Loading in …5
×

Specs2 whirlwind tour at Scaladays 2014

2,307 views

Published on

Presentation of specs2 functionalities from simple ones to less well-known + overview of the next release

Published in: Software, Technology, Education
  • Be the first to comment

Specs2 whirlwind tour at Scaladays 2014

  1. 1. Specs2 2.3 whirlwind tour ScalaDays
  2. 2. Whirlwind tour Acceptance/Unit Matchers Quick start Mockito G/W/T ScalaCheck Contexts Pending until fixed Command line Failures Scripts Snippets DataTables Execution Next?
  3. 3. Bridging the gap informal formal extensive refactored text code readable executable current versioned
  4. 4. Bridging the gap
  5. 5. 5 First steps
  6. 6. Quick start HelloWorldSpec.scala
  7. 7. With sbt
  8. 8. With IntelliJ
  9. 9. Whirlwind tour Acceptance/Unit Quick start
  10. 10. Acceptance / Unit
  11. 11. Whirlwind tour Acceptance/Unit Matchers Quick start
  12. 12. Equality
  13. 13. Typed equality
  14. 14. Differences
  15. 15. Differences
  16. 16. Main types
  17. 17. Traversable
  18. 18. Traversable
  19. 19. Your own
  20. 20. And others… xml files case classes …maps termination
  21. 21. Whirlwind tour Acceptance/Unit Matchers Quick start Execution
  22. 22. Expectations
  23. 23. Parallel by default
  24. 24. Control the execution
  25. 25. Control the execution
  26. 26. Isolation
  27. 27. Selection
  28. 28. Selection
  29. 29. Selection
  30. 30. Whirlwind tour Acceptance/Unit Matchers Quick start Contexts Execution
  31. 31. Before
  32. 32. Around
  33. 33. Fixture
  34. 34. Applications Database setup/cleanup Web application context Timing Contexts chaining
  35. 35. 35 Full speed
  36. 36. Whirlwind tour Matchers Quick startScalaCheck Contexts Execution Acceptance/Unit
  37. 37. ScalaCheck
  38. 38. ScalaCheck
  39. 39. Whirlwind tour Acceptance/Unit Matchers Quick startScalaCheck Contexts DataTables Execution
  40. 40. DataTables
  41. 41. Whirlwind tour Acceptance/Unit Matchers Quick start Mockito ScalaCheck Contexts DataTables Execution
  42. 42. Mockito
  43. 43. 43 Moonwalk!
  44. 44. Whirlwind tour Acceptance/Unit Matchers Quick start Mockito G/W/T ScalaCheck Contexts DataTables Execution
  45. 45. Given / When / Then
  46. 46. Given / When / Then
  47. 47. Whirlwind tour Acceptance/Unit Matchers Quick start Mockito G/W/T ScalaCheck Contexts Scripts DataTables Execution
  48. 48. No more operators!
  49. 49. Groups
  50. 50. Groups
  51. 51. Whirlwind tour Acceptance/Unit Matchers Quick start Mockito G/W/T ScalaCheck Contexts Command line Scripts DataTables Execution
  52. 52. Command-line arguments
  53. 53. Whirlwind tour Acceptance/Unit Matchers Quick start Mockito G/W/T ScalaCheck Contexts Command line Failures Scripts DataTables Execution
  54. 54. Detailed failures
  55. 55. Whirlwind tour Acceptance/Unit Matchers Quick start Mockito G/W/T ScalaCheck Contexts Pending until fixed Command line Failures Scripts DataTables Execution
  56. 56. Don’t have time to fix it?
  57. 57. Whirlwind tour Acceptance/Unit Matchers Quick start Mockito G/W/T ScalaCheck Contexts Pending until fixed Command line Failures Scripts Snippets DataTables Execution
  58. 58. Snippets
  59. 59. Auto examples
  60. 60. 60 Fly
  61. 61. Whirlwind tour Acceptance/Unit Matchers Mockito G/W/T ScalaCheck Contexts Pending until fixed Command line Failures Scripts Snippets DataTables Execution Next?
  62. 62. Specs2 3.0 Presentation at LambdaJam 2014 “Online” specifications More library-like Optional DSLs Modular reporters Some API breaks No nested specs
  63. 63. How can you help? Eclipse plugin Html reporting Web testing
  64. 64. Whirlwind tour Acceptance/Unit Matchers Mockito G/W/T ScalaCheck Contexts Pending until fixed Command line Failures Scripts Snippets DataTables Execution Thanks!

×