StefanSchade / TaleForge

Text Adventure Logic Engine - A plattform to create immersive games without coding
0 stars 0 forks source link

Improve Robustness of Web Controller Test #40

Open StefanSchade opened 2 months ago

StefanSchade commented 2 months ago

Testing for Errors:

test for error scenarios by deliberately sending incorrect data and using deserialization to check error messages or status codes.

Complex Structures:

consider using partial matching libraries or just manually checking certain keys in the JSON structure.

Asynchronous Testing:

Make sure your asynchronous context is correctly set up especially if dealing with database interactions or other IO operations within your endpoint handlers.