This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
[BUG] Tests for Imported Modules Running During Module Test Execution #395
Labels
bug fix
Something isn't working
Describe the bug
When running tests for a specific Jac module that has other modules imported, all tests, including those of the imported modules, are executed. For example, in
memory.jac
, wheresession.jac
is imported, running tests formemory.jac
also triggers thesession
tests. This behavior is problematic because if there are multiple imports, all tests will be run. This has forced me to comment out thesession
tests to work solely with thememory
tests. However, with multiple or nested imports, this can become unmanageable and prone to errors.To Reproduce
Steps to reproduce the behavior:
A.jac
that imports another moduleB.jac
.A.jac
andB.jac
.A.jac
.Expected Behavior
Only the tests for
A.jac
should run.Actual Behavior
Tests for both
A.jac
andB.jac
run.Environment
Jac-Lang version:
The text was updated successfully, but these errors were encountered: