csharpfritz / csharpfritz/MyFirstTextGame

Add unit tests for GameEngine command handling

Abierto
#3 0 comentarios 0 reacciones 0 asignados Ver en GitHub
squad:barton testing
Lenguaje dominante
C#
Estrellas
1
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.