Writing Tests in This Python Project#
Testing is essential to maintain the integrity and reliability of the codebase. Follow the guidelines below to write tests for this project effectively.
Test Organization#
Unit Tests: Place unit tests for individual components in the
testsdirectory, but take care to mirror the file structure of thesrcfolder with the corresponding code files. Use thetest_*.pynaming convention for test files.System Tests: Tests that interact with DLS infrastructure, network, and filesystem should be placed in the top-level
systems_testfolder. This separation ensures that these tests are easily identifiable and can be run independently from unit tests.