-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4743403
commit a5fb94f
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |