You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The unit tests included in the project are good, but could be improved. We should have at least one test function targeting each function implemented in the code. If this is tricky to manage for some functions we should consider refactoring them so that each part is easier to test. This is particularly important when we want to do changes to the code, so we can be sure that the new version will work as well as the old one (integration tests can reveal many issues but unit tests make it easier to check that every part of the code has been tested and to find out the source of errors when they arise).
The coverage is good in several files, but we should try to reach at least 80% in each of them (100% would be ideal, but better start with realistic targets).
Files to look at:
create_aws_registry_dataset
CommonHandler.py
GenericZarrHandler.py
ParquetDataQuery.py
test_ardc_wave_nrt.py (test fails)
Some will need more tests to be implemented, others have unused code that should be removed or put to use.
The text was updated successfully, but these errors were encountered:
The unit tests included in the project are good, but could be improved. We should have at least one test function targeting each function implemented in the code. If this is tricky to manage for some functions we should consider refactoring them so that each part is easier to test. This is particularly important when we want to do changes to the code, so we can be sure that the new version will work as well as the old one (integration tests can reveal many issues but unit tests make it easier to check that every part of the code has been tested and to find out the source of errors when they arise).
Coverage (generated by coverage.py):
The coverage is good in several files, but we should try to reach at least 80% in each of them (100% would be ideal, but better start with realistic targets).
Files to look at:
Some will need more tests to be implemented, others have unused code that should be removed or put to use.
The text was updated successfully, but these errors were encountered: