mirror of
https://github.com/n0remac/game-jam-2020.git
synced 2025-12-08 06:05:15 -06:00
basic class skeleton for tests file
This commit is contained in:
31
triple-dungeon/tests.py
Normal file
31
triple-dungeon/tests.py
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
"""
|
||||||
|
tests.py
|
||||||
|
A file dedicated to testing our game and ensuring it can run.
|
||||||
|
Integrate this into your IDE's workflow to ensure the game runs from top to bottom.
|
||||||
|
The tests used here should test all of our game's features as best they can.
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
class GameTests:
|
||||||
|
"""
|
||||||
|
Tests that the Arcade framework runs the game correctly.
|
||||||
|
Only tests that it launches and runs for a little bit, not that it is functioning properly.
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
class SpriteTests:
|
||||||
|
"""
|
||||||
|
Tests the Sprite classes as well as the sprites, checking that names are correct.
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
class LevelTests:
|
||||||
|
"""
|
||||||
|
Tests the Level class for proper integration.
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
class DungeonTests:
|
||||||
|
"""
|
||||||
|
Tests the Dungeon class for
|
||||||
|
"""
|
||||||
Reference in New Issue
Block a user