trafficone / noscrum

Project Management for Individuals
MIT License
0 stars 0 forks source link

[FEATURE] - Tests Required for Deployment #32

Open trafficone opened 2 years ago

trafficone commented 2 years ago

Testing

The API, front-end, and database all need to be validated before a deployment can be considered successful. If a deployment is unsuccessful, it should be rolled back.

Test Platform

There is a manual test process, but that should be automated as soon as possible. The following tools have been selected to build the tests.

Tests to Execute

Instead of enumerating each test, make sure the following areas are covered.

API

Relation to Deployment

Rollout Steps

  1. Move new code to server location.
  2. Create new DB & load data from old DB.
    1. If there are any migration queries, they should go here.
  3. Logroll and backup-roll from previous DB backups.
  4. Restart server.
trafficone commented 2 years ago

This is currently implemented in Google Sheets. Automation TBD.

trafficone commented 2 years ago

Rolling all testing into this issue.

16 Unit Testing for NoScrum

To prevent unintended failures on deployment, unit testing should be implemented. API Unit Testing

Interface Unit Testing

Non-unit Integration Testing

19 Add CI/CD Deployment Pipeline

Prerequisites:

trafficone commented 2 years ago

There's a lot in this feature, but I will try to chip away at it in the coming weeks. The highest priority is having tests that can be run automatically using pytest.