Skip to content

Commit e0b7202

Browse files
committed
adding ToDo snapshot tests
1 parent 1c5aed2 commit e0b7202

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

tests/snapshot-tests/Snapshot-Tests.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,14 @@ the below tool will need installing to easily verify the changes to the snapshot
2222
4a - If the Tests pass, This indicates that there have been no functional changes have been made and you are good to go!
2323
4b - If the Tests fail you can run `dotnet verify review` this will show the differences between the verified(previous) and received (New)
2424

25+
## ToDo
26+
27+
- Clear down and load the test files are part of the test. Clear the database once all the tests are completed?
28+
- Maybe only clear the NHS Numbers that are part of the smoke test file and only filter on that when doing the comparison
29+
- Test the api responses by calling the APIs from the Snapshot tests
30+
- Such as retrieve cohort Distribution and the Exception API
31+
- Do this after each file is run?
32+
- Do this in addition to the database checks?
33+
- Create new test classes for each of the smoke test files
34+
- Work on how this would work in the pipeline
35+
- Ensure the above process works as expected

0 commit comments

Comments
 (0)