Skip to content

Commit 43d3107

Browse files
committed
Altered matching rules to only test things from those modules and not top-level classes.
1 parent 5cd0745 commit 43d3107

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rails_application/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ ifeq ($(origin MUTANT_NODE_INDEX), environment)
5858
echo "$$DERIVED_NAMES"; \
5959
fi; \
6060
echo "--- END DEBUG (perl) ---"; \
61-
SUBJECT_PATTERNS_RAILS_APP='^(Orders|ClientOrders)'; \
61+
SUBJECT_PATTERNS_RAILS_APP='^(Orders::|ClientOrders::)'; \
6262
FILTERED_NAMES=$$(echo "$$DERIVED_NAMES" | grep -E "$$SUBJECT_PATTERNS_RAILS_APP" || true); \
63-
echo "--- DEBUG: Filtered names (after subject filter): ---"; \
63+
echo "--- DEBUG: Filtered names (after subject filter to modules): ---"; \
6464
echo "$$FILTERED_NAMES"; \
6565
SUBJECT_ARGS=$$(echo "$$FILTERED_NAMES" | xargs); \
6666
if [ -z "$$SUBJECT_ARGS" ]; then \
67-
echo "No subjects matching .mutant.yml 'subjects' criteria found for this node. Skipping."; \
67+
echo "No subjects matching module criteria (Orders::*, ClientOrders::*) found for this node. Skipping."; \
6868
else \
6969
echo "Attempting to run mutant for filtered subjects: $$SUBJECT_ARGS"; \
7070
RAILS_ENV=test bundle exec mutant run $$SUBJECT_ARGS; \

0 commit comments

Comments
 (0)