This assignment is building on your previous assignment for developing the HF-SCF code. Here you will add pytest unit tests to test each of the functions in SCF.py.
Submit a pull request that has each function in SCF.py
tested in the file tests/SCF/test_SCF.py
sufficiently that you can ensure the correctness of the function. You can use the hints in the README from the previous assignment to develop tests.
Steps:
pip install -r requirements.txt
again to ensure that the new modules added are in your environment.tests/SCF/test_SCF.py
file to add the tests. Note: The current Continous integration is testing for PEP8 compliance, and will fail on the pull request checks if the code is not to spec.
Hints:
pycodestyle -r <filename>
, this will give you a readout of the non-compliance issues that you can fix before committing.pytest
and you should get a read out. You will need to ensure that your unit tests are working before submitting completing the task, as success will be passing all of the unit tests on every function.