Duplicated test results in src
when modules are added to lib.cairo
#173
Labels
bug
Something isn't working
src
when modules are added to lib.cairo
#173
With the project structure like
/src/fib.rs
/src/lib.rs
Test results are duplicated in the output
Collected 2 test(s) and 2 test file(s) Running 1 test(s) from src/fib.cairo [PASS] fib::fib::test_fib Running 1 test(s) from src/lib.cairo [PASS] src::fib::test_fib Tests: 2 passed, 0 failed, 0 skipped
Most likely the tests from
fib.rs
get collected when running collect_tests onlib.rs
since they are reachable from there. Then we collect them again fromfib.rs
directly, causing the duplication. This should be fixed, so we do not collect test duplicates.The text was updated successfully, but these errors were encountered: