Skip to content

Mark plot-based genetic tests as manual#192

Open
SrijaVuppula wants to merge 1 commit into52North:mainfrom
SrijaVuppula:test/mark-plot-tests-manual
Open

Mark plot-based genetic tests as manual#192
SrijaVuppula wants to merge 1 commit into52North:mainfrom
SrijaVuppula:test/mark-plot-tests-manual

Conversation

@SrijaVuppula
Copy link
Copy Markdown

Summary

This PR marks plot-producing genetic tests as manual so they are separated from the regular automated test runs.

Changes

  • add @pytest.mark.manual to test_single_point_crossover
  • add @pytest.mark.manual to test_speed_crossover
  • add @pytest.mark.manual to test_weight_determination_for_solution_selection

Verification

Ran:

./.venv/bin/pytest -m "manual" tests/test_genetic.py tests/test_genetic_mcdm.py -q
# Result:
- 7 passed
- 1 skipped
- 13 deselected

Ran:

./.venv/bin/pytest -m "not manual" tests/test_genetic.py tests/test_genetic_mcdm.py -q
# Result:
- 13 passed
- 8 deselected

Notes

test_single_point_crossover remains skipped with the existing skip reason:
Test needs modified route array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant