Skip to content

Commit

Permalink
Create testing.md
Browse files Browse the repository at this point in the history
  • Loading branch information
terrywbrady authored Nov 21, 2024
1 parent 4743403 commit a5fb94f
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions testing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Testing in Merritt

[Merritt Documentation Home](README.md)

## Types of Testing
- Data Consistency Testing
- Data validation checks run on a daily basis. The status of each check is reported to a dashboard.
- Unit Tests
- Automated tests bundled within a code base. May be run as a part of the build.
- Integration Tests
- Automated tests bundled within a code base that rely on the start/stop of an external service (database, cloud, queue). May be run as a part of the build.
- End to End Testing
- Automated tests that initiate actions across a Merritt microservice stack (stage or production). All tests are initiated and validated through the Merritt UI.
- Performance Testing
- Automated tests that send traffic to a specific service in stage or production. Response times are evaluated against a pre-set standard.
- Load Testing
- Automated tests that initate a predictable load against Merritt back-end services. Test results are manually verified OR are verified through data consistency checks.

## Scheduled Tests
- Data Consistency Tests are initiated by cron on the Merritt batch server.
- Scheduled Builds (via AWS Event Bridge Schedules)
- Several Merritt repositories are re-built on a daily basis. Each build may trigger unit tests and integration tests.
- End to End Tests are executed as a scheduled build
- Performance Tests are executed as a secheduled build

## Triggered Tests
- GitHub actions test
- Tests executed by GitHub actions that provide immediate feedback to the committer
- Code Pipeline Triggers
- OnPush tests: executed when a commit is made
- OnTag tests: executed when a git tag is pushed

## Manual Tests
- Tests that are executed by manual action
- These tests may require the initiation of specific services in order to perform the test

## Types of Tests by Repository

0 comments on commit a5fb94f

Please sign in to comment.