~/talk

ScalaWebTest - integration testing made easy

Talkat Scala Days Lausanne 2019 · 2019-06-11..06-13· [scala, testing]
name:Dani Rey
links:none on file
slides:none on file

ScalaWebTest provides an integration test framework that uses ScalaTest + Selenium and verifies pages by fitting live HTML to HTML/XML gauges (fragment sketches) so assertions read like the HTML they validate, including attribute checks, node order, and partial matches; it also offers JSON gauges for APIs, uses HTMLUnit default (HTTP status/headers exposed) or Chrome for JS, integrates with Play/sbt, runs in Docker runner images, and recommends mocking external services and using a test harness and time-adjusters.

AI-written summary · about

  1. 0:00Start
  2. 0:40What was redesigned?
  3. 1:28Link handling was done in
  4. 3:31What do I mean?
  5. 4:17The Test Pyramid...and why it's wrong
  6. 5:14The Test Camel
  7. 7:15Manufacturing
  8. 8:24Testing Metal with Metal
  9. 11:57Element order matters
  10. 22:27Concepts
  11. 22:58Testing Lifecycle
  12. 23:12Additional hooks
  13. 24:51Browser Options
  14. 26:49Add dependencies
  15. 27:12Continuous Integration
  16. 28:13Mock your external dependencies
  17. 29:22Test Harness
  18. 29:52Object trick
  19. 30:56Adjusting Date/Times
  20. 32:01It depends
  21. 32:49Dockerfile
~/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.