Changes
Page history
Update Code Structure
authored
Feb 16, 2022
by
Mark Hewitt
Hide whitespace changes
Inline
Side-by-side
Code-Structure.md
View page @
f0c893e9
...
...
@@ -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
\c
ommands
\s
torage
\t
est_add.py_ for an example.
\ No newline at end of file