Professional Documents
Culture Documents
Aaron Evans
aaron@one-shore.com
@fijiaaron
1-844-AUTOM87
Testing web apps & APIs
[cool ice breaker picture]
Reactive display
Client side rendering. DOM manipulation
Web services
Communicates via AJAX to RESTful APIs
Cloud infrastructure
Deployed as independent containers
API
No user interface, versioning, no shared state
Data Sources
Relational databases, noSQL, search, external web services
Angular.js
React.js
Ember.js
Backbone.js
etc.
Mobile apps
Single page app
Different display sizes
Focus on:
End-to-end tests
Business acceptance criteria
Visual testing
REST
Microservices
Relational & NoSQL data stores (MongoDB, Redis, CouchDB, Elasticsearch,
etc.)
External services (payment processing, authorization, etc.)
No user interface
Focus on:
Functionality of individual service
Integration of services
Smoke test entire system
Ability to switch from test to production with the flip of a switch (DNS)
Tools:
Javascript
Cucumber (BDD test framework)
Selenium (Webdriver.io)
Sauce Labs (Cloud devices)
Tools:
Javascript
Cucumber (BDD test framework)
Postman (Google Chrome plugin)
Unirest (HTTP library)
Benefits:
Quicker discovery of issues
More time for manual exploratory testing
Release changes on demand
Roll back production issues immediately