Update Code Structure authored by Mark Hewitt's avatar Mark Hewitt
......@@ -46,3 +46,14 @@ The cliclient.py module contains the _CliOsduClient _class that simplifies inter
## Testing
Test cases are provided for certain functionality and are located under the _tests_ folder. Extending test coverage is an identified improvement area.
### Testing of commands
Testing of commands should include test cases for:
- _CLI Interface_ - check that cli commands call the backend functions correctly.
- _test_cli_[xxx_]required_params()_ - for testing required parameters
- _test_cli_[xxx_]optional_params()_ - for testing default (optional) parameters
- _test_cli_xxx()_ - for testing specific combinations of parameters
- _Function Tests_ - for testing specific functions.
Not all tests adhere to the above convention yet. See _tests\commands\storage\test_add.py_ for an example.
\ No newline at end of file