Developer Instruction¶
Developers are instructed to follow the similar format of the scripts.
Include new functions in proper modules. If suitable module is not found, include them in
basic_utils.After including any function, add a
pytestin appropriate testing scripts and test it. Without properpytestnew functions will not be included in the main branch and future release.
Instructions for testing¶
## Steps to test
Install pytest using pip install pytest before running the test.
Go to test directory
cd <repo_path>/meersolar/tests
Download test data
python3 download_test_data.pyRun utils module test:
pytest -s -v utils
Run meerpipeline module test:
pytest -s -v meerpipeline