Skip to content

chore: tests#4

Merged
martian56 merged 49 commits into
mainfrom
chore/tests
May 8, 2026
Merged

chore: tests#4
martian56 merged 49 commits into
mainfrom
chore/tests

Conversation

@martian56

Copy link
Copy Markdown
Owner

This pull request updates the test suite for the chess project, replacing the previous test runner and expanding the test data with a comprehensive set of new and more descriptive test cases. The documentation is updated to reflect these changes, providing clearer instructions and more accurate descriptions of the testing process.

Test infrastructure updates:

  • The Makefile test target now runs all levels of tests using tests/run_all_levels.sh, replacing the previous single-level test runner. This makes the test process more robust and consistent across different environments.

Documentation updates:

  • The README.md and docs/slides/caissa.md have been revised to describe the new testing process and reference the new test data directory. Outdated test descriptions and tables have been removed for clarity. [1] [2] [3]

Test data expansion:

  • Numerous new test files have been added under tests/data/, covering a wide range of legal and illegal chess moves, including specific cases for bishops, knights, pawns, rooks, castling, en passant, and check/checkmate scenarios. These tests are more descriptive and include comments in French to clarify the intent of each test. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17]

Key improvements:

Test infrastructure:

  • Switched to a multi-level test runner script for broader and more reliable test coverage.

Documentation:

  • Updated instructions and removed outdated test descriptions to match the new test setup. [1] [2] [3]

Test data:

martian56 added 30 commits May 8, 2026 18:50
@martian56 martian56 self-assigned this May 8, 2026
@martian56 martian56 added documentation Improvements or additions to documentation enhancement New feature or request labels May 8, 2026
@martian56 martian56 merged commit 96de263 into main May 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant