csharpfritz / csharpfritz/MyFirstTextGame

Add unit tests for GameEngine command handling

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
squad:barton testing
Dominant language
C#
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The test suite covers CommandParser, ConditionEvaluator, NarratorService, SaveManager, and WorldValidator but GameEngine itself has zero test coverage. Create GameEngineTests.cs with mock IOutputWriter/IInputReader. Test each command handler: go (locked exit), take (non-portable), use (puzzle solve), talk (givesItem), save/load round-trip.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.