Specs2 whirlwind-tour

1,562 views

Published on

Presentation of the main functionalities of specs2, then some less well-known (but useful!) ones. Included in the tour: all the brand new features of specs2 2.0

Published in: Technology, Business
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,562
On SlideShare
0
From Embeds
0
Number of Embeds
52
Actions
Shares
0
Downloads
13
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide
  • This gap is real and needs to be addressed. There ’ s no good solution, only a compromise
  • Specs2 whirlwind-tour

    1. 1. Specs2 2.0 whirlwind tour ScalaSyd
    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
    3. 3. Quick start HelloWorldSpec.scala
    4. 4. With sbt
    5. 5. With IntelliJ
    6. 6. Whirlwind tour Acceptance/Unit Quick start
    7. 7. Acceptance / Unit Exceptions!
    8. 8. Bridging the gap informal formal extensive refactored text code readable executable current versioned
    9. 9. Bridging the gap
    10. 10. Whirlwind tour Acceptance/Unit Matchers Quick start
    11. 11. Equality
    12. 12. Typed equality
    13. 13. Differences
    14. 14. Differences
    15. 15. Main types
    16. 16. Traversable (2.0)
    17. 17. Traversable (2.0)
    18. 18. Your own
    19. 19. And others… xml files maps …maps termination
    20. 20. Whirlwind tour Acceptance/Unit Matchers Quick start Execution
    21. 21. Parallel by default
    22. 22. Control the execution
    23. 23. Control the execution
    24. 24. Selection
    25. 25. Selection
    26. 26. Selection
    27. 27. Whirlwind tour Acceptance/Unit Matchers Quick start Contexts Execution
    28. 28. Before
    29. 29. Around
    30. 30. Fixture (2.0)
    31. 31. Applications Database setup/cleanup Web application context Timing Contexts chaining
    32. 32. Whirlwind tour Matchers Quick startScalaCheck Contexts Execution Acceptance/Unit
    33. 33. ScalaCheck
    34. 34. ScalaCheck
    35. 35. Whirlwind tour Acceptance/Unit Matchers Quick startScalaCheck Contexts DataTables Execution
    36. 36. DataTables
    37. 37. Whirlwind tour Acceptance/Unit Matchers Quick start Mockito ScalaCheck Contexts DataTables Execution
    38. 38. Mockito
    39. 39. Whirlwind tour Acceptance/Unit Matchers Quick start Mockito G/W/T ScalaCheck Contexts DataTables Execution
    40. 40. Given / When / Then
    41. 41. Given / When / Then
    42. 42. Whirlwind tour Acceptance/Unit Matchers Quick start Mockito G/W/T ScalaCheck Contexts Scripts DataTables Execution
    43. 43. No more operators!
    44. 44. Groups
    45. 45. Groups
    46. 46. Whirlwind tour Acceptance/Unit Matchers Quick start Mockito G/W/T ScalaCheck Contexts Command line Scripts DataTables Execution
    47. 47. Command-line arguments
    48. 48. Whirlwind tour Acceptance/Unit Matchers Quick start Mockito G/W/T ScalaCheck Contexts Command line Failures Scripts DataTables Execution
    49. 49. Detailed failures
    50. 50. Whirlwind tour Acceptance/Unit Matchers Quick start Mockito G/W/T ScalaCheck Contexts Pending until fixed Command line Failures Scripts DataTables Execution
    51. 51. Don’t have time to fix it?
    52. 52. Whirlwind tour Acceptance/Unit Matchers Quick start Mockito G/W/T ScalaCheck Contexts Pending until fixed Command line Failures Scripts Snippets DataTables Execution
    53. 53. Snippets (2.0)
    54. 54. Whirlwind tour Acceptance/Unit Matchers Mockito G/W/T ScalaCheck Contexts Pending until fixed Command line Failures Scripts Snippets DataTables Execution Thanks!

    ×