Sildes of the talk I gave at Software Craftsmanship Berlin Meetup. It's all about how we test within the Payments Team.
http://www.meetup.com/Software-Craftsmanship-Berlin/events/160616162/
2. SoundCloud
• Worlds leading audio platform
• reaching over 250 Millions users monthly
• 12 hours of audio uploaded each minute
• Based in Berlin, SF, NYC, London & Sofia
• > 200 employees, ~ 40% developers, > 500
repositories
3. Payments Team
• Responsible for Pro Products:
Subscriptions, Gift
• Started 2 years ago - ‘from scratch’
• 2 - 3 Developers + 1 Product Manager/Expert
• Main tasks:
- Maintain old system
- Build new System as Service, integrate with new
PSP Adyen
12. Unit Tests
Tests: service & data layer, each path of each public
method of each class
mock internal services
mock external clients
rspec, factory girl
13. Integration Tests
Tests: http request to response
mock external client calls on http layer
asserts response code + body
asserts external requests
rspec, webMock, factory girl
!
14. System Tests
Test: full flow
Dedicated staging system, all others live
asserts result page
rspec, selenium, page objects
!