ScalaWebTest - integration testing made easy
summary
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
chapters (21)
- 0:00Start
- 0:40What was redesigned?
- 1:28Link handling was done in
- 3:31What do I mean?
- 4:17The Test Pyramid...and why it's wrong
- 5:14The Test Camel
- 7:15Manufacturing
- 8:24Testing Metal with Metal
- 11:57Element order matters
- 22:27Concepts
- 22:58Testing Lifecycle
- 23:12Additional hooks
- 24:51Browser Options
- 26:49Add dependencies
- 27:12Continuous Integration
- 28:13Mock your external dependencies
- 29:22Test Harness
- 29:52Object trick
- 30:56Adjusting Date/Times
- 32:01It depends
- 32:49Dockerfile
related talks
55mModern Web Testing: Going Beyond Selenium
29mState of Web Integration Testing
04mWe're bad at web integration testing
30mModern Web Testing: Going Beyond Selenium
38mModern Web Testing: Going Beyond Selenium
53mModern Web Testing: Going Beyond Selenium
21mThe Web has evolved. Has your testing evolved too?
40mScala, Docker and Testing oh my!
