Ensure that the folder structures of all test directories align with the respective structure of the source or library intended to be tested.
Context
While reviewing the tests created for the caliper packages, I encountered challenges locating some module-specific tests. Initially, I thought certain modules lacked tests, only to discover that there were corresponding tests bearing the same module name but placed in the root directory of the test folder.
Expected Behavior
The structure of a test folder should correspond to the architecture of the source code it is intended to test.
Actual Behavior
Possible Fix
Go over all packages and ensure all test folder structures match the tested source
Ensure that the folder structures of all test directories align with the respective structure of the source or library intended to be tested.
Context
While reviewing the tests created for the caliper packages, I encountered challenges locating some module-specific tests. Initially, I thought certain modules lacked tests, only to discover that there were corresponding tests bearing the same module name but placed in the root directory of the test folder.
Expected Behavior
The structure of a test folder should correspond to the architecture of the source code it is intended to test.
Actual Behavior
Possible Fix
Go over all packages and ensure all test folder structures match the tested source
Steps to Reproduce
N/A
Existing issues
N/A
Context
N/A
Your Environment
N/A