Arrange, Mazafaka!
summary
Focuses on the Arrange step of Arrange-Act-Assert testing for Selenium-based automated tests. Describes problems caused by using real databases, sending real SMS/emails, and ad-banner hacks that make tests slow and flaky, and presents concrete techniques to prepare test data and mock or stub services so tests run reliably and fast.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 1:16Test automation manifesto
- 2:01Arrange-Act-Assert in tests
- 3:05Arrange step problems
- 4:10No external services
- 5:35Successful emulator examples
- 12:24Test prep anti-patterns
- 14:08Emulating dependencies
- 19:08App test environment setup
- 22:21HTTP service with WireMock
- 29:47API mocking for testing
- 31:36Email server emulation
- 35:47Managed test database
- 38:35Browser setup for stability
- 42:28Magic login optimization
- 43:33Real services when needed
- 44:13European testing pyramid
related talks
41mFunctional Tests (Selenium) in Practice
50mSOS: I'm a Manual Tester, I Need to Automate and I Don't Know Code
24mLet's Get Functional? Seriously!
41mWriting Well-Abstracted Self-Testing Automation On Top Of Jello-O
27mAutomated Web Acceptance Testing with Behat
01mHighlights
01h 14mContinuous Testing
35mBuild an automation framework... with a developer mindset
