Anthony-Nolan / Atlas.Auto.Tests

Automated end-to-end test framework for the Atlas search algorithm.
GNU General Public License v3.0
0 stars 0 forks source link

Atlas.Auto.Tests

Automated end-to-end test framework for the Atlas search algorithm - see the main GitHub repository for more information.

Prerequisites

Local

Running Tests

Local Development

DevOps

Pipeline Variables

Versioning & Dependencies

The E2E test project does not have its own version at present. However, it does depend on the Atlas.Debug.Client and Atlas.Debug.Client.Models packages, which are versioned in line with the Atlas API (see Atlas README). The E2E tests should be updated to use the latest version of these packages whenever a new Atlas version is released.

This should be done by:

  1. First reading both the Atlas and Debug client changelogs to check for both API-level and/or functional breaking changes.
  2. Creating a new branch of the E2E tests repo named after the version of Atlas being tested, i.e., atlas/x.y.z, where "x.y.z" is the Atlas version number under test.
  3. Updating the package references in the Atlas.Auto.Tests.csproj file to version x.y.z (stable, not pre-release).
  4. Running the health check tests locally as a build check.
  5. Push the new branch to the remote repository.
  6. On DevOps, run the atlas/x.y.z version of the tests pipeline against the Atlas instance of the same version - most likely, this will be Atlas UAT.
  7. If all tests are green, git tag the branch with the version number, i.e., atlas/x.y.z, then push the tag to the remote repository.
  8. Merge the branch into main, and finally, delete the branch.

Contributing

Please refer to the contribution guidelines on the main Atlas repository.

Writing Tests

Parallelisation

Search-related Tests