hyperledger / caliper

A blockchain benchmark framework to measure performance of multiple blockchain solutions https://wiki.hyperledger.org/display/caliper
https://hyperledger.github.io/caliper/
Apache License 2.0
642 stars 403 forks source link

Fix: test folder structure consistencies #1596

Open tunedev opened 1 week ago

tunedev commented 1 week ago

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