~/talk

TimeTest your java applications with Spockline01

Talkat Oredev 2017 · 2017-11-08..11-10· [testing]
links:none on file
slides:none on file

Spock is a Groovy‑based testing framework that actually tests Java code: examples add a Spock dependency to Gradle/Maven, run Spock specs with given-when-then blocks, and integrate with JUnit and CI like Jenkins. Demos show data-driven with unroll tables producing one result per row, power asserts that print intermediate values, mocking and stubbing (including concrete classes) and generated HTML reports — all examples compile and run, with failing cases showing detailed diagnostics.

AI-written summary · about

  1. 0:00Introduction
  2. 1:52Why test your applications
  3. 2:34Demo
  4. 3:27Create a class
  5. 4:12Write a test
  6. 5:10Test a given block
  7. 12:38Test a key
  8. 13:26Power hazards
  9. 14:00Groovy output
  10. 15:22Exceptions
  11. 17:40Parameterized test
  12. 18:21Multiple variables
  13. 20:27List
  14. 20:52CSV
  15. 23:41Example
  16. 28:10Order
  17. 29:32User Repository
  18. 30:02User Signature
  19. 30:35List of Users
  20. 31:57Runtime Exception
  21. 32:45Stop more than one thing
  22. 33:36Fine by ID
  23. 33:58Life cycle
  24. 34:20Cleanup
  25. 34:58Add a new number
  26. 37:53Setup method
  27. 38:59Documentation
  28. 39:27Spock Reports
  29. 41:02Resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.