Написать тесты которые будут запускаться через cmake#14
Написать тесты которые будут запускаться через cmake#14netkeep80 merged 3 commits intonetkeep80:mainfrom
Conversation
Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: netkeep80#13
- Add CTest configuration to CMakeLists.txt with 5 test suites: - test_simple_classification: Quick test with yes/no classes - test_default_classification: Standard 4-class test - test_benchmark_training_speed: Performance benchmark - test_model_save_load: Model persistence test - test_extended_classification: Multi-class test - Add cmake/test_save_load.cmake script for model save/load testing - Add test.sh cross-platform test runner script - Update GitHub Actions workflow to use 'ctest' command - Update .gitignore to allow cmake/ directory scripts - Simplify extended.json config for faster test execution Tests can now be run with: - ./test.sh (full build + test) - ctest -C Release (in build directory) - ctest --output-on-failure (verbose output) Fixes netkeep80#13 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This reverts commit 1dd1a80.
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
Now working session is ended, feel free to review and add any feedback on the solution draft. |
🔄 Auto-restart 1/3Detected uncommitted changes from previous run. Starting new session to review and commit them. Uncommitted files: Auto-restart will stop after changes are committed or after 2 more iterations. Please wait until working session will end and give your feedback. |
🔄 Auto-restart 1/3 LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
Now working session is ended, feel free to review and add any feedback on the solution draft. |
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
Now working session is ended, feel free to review and add any feedback on the solution draft. |
Summary
Добавлена полноценная система тестирования с использованием CTest, которая интегрируется с CMake и запускается командой
ctest.Изменения:
ctestТестовые наборы:
Запуск тестов:
Метрики производительности:
Тест
test_benchmark_training_speedвыводит следующие метрики:Test plan
cmake --build)ctest -C ReleaseFixes
Fixes #13
🤖 Generated with Claude Code