triton2997 / cowin-slot-notifier

Utility that automatically alerts via email if slots are available on the CoWIN portal. Provides rich filtering by list of pincodes, type of vaccine, dose number, etc
0 stars 0 forks source link

[TASK]: Create testing module for config reader module #23

Closed triton2997 closed 3 years ago

triton2997 commented 3 years ago

Story: #16

Date: 14/07/21

Description:

  1. Write script to test all possible combinations of config reader module, and compare it against expected output
  2. If passed, print test passed
  3. Else, print out the mismatches

Task type: Testing

Estimated efforts (person hours): 3

Actual efforts (person hours): 3

triton2997 commented 3 years ago
  1. Created test script for testing config reader module
  2. Defined expected output and test_config.json will all combinations of input
  3. If tests pass, the script prints "Test passed"
  4. On mismatch, script prints "Test failed" and prints all instances of mismatch