Decide on Strategy for Continuous Integration
Considerations
A strategy for Continuous Integration — i.e. container image builds, and single-page applications need to be adopted.
There are different levels of testing.
-
Unit Tests
-
Integration Tests
-
Linting/Static Analysis Tests
-
Security Tests
Centralized storage for test reports
Options for Unit Tests
Options for Integration Tests
The options available for integration testing will depend to some degree on the technology. For example, single-page applications that are typically deployed to S3/CloudFront, for integration testing purposes might be still tested as dockerized apps.
Option 1: Docker Composition with Test Script
Option 2: Deployment to Cluster with Test Script
Deploy a preview environment and then test it. Note: not all services are suitable for previews.
Option 3: Test script
Options for Linting/Static Analysis Tests
- Superlinter