Initial commit of a basic test framework, see readme.md for more

Most modules are covered with basic unit tests, and there's an example test for a graphics draw (rectangle) and object (File) - for object tests doing more scenario based so we can check multiple things together
This commit is contained in:
ell
2023-10-04 14:43:44 +01:00
parent 03b6b9ff13
commit 19df8040df
32 changed files with 3667 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
function love.conf(t)
t.console = true
t.window.name = 'love.test'
t.window.width = 256
t.window.height = 256
t.window.resizable = true
t.renderers = {"opengl"}
t.modules.audio = true
t.modules.data = true
t.modules.event = true
t.modules.filesystem = true
t.modules.font = true
t.modules.graphics = true
t.modules.image = true
t.modules.math = true
t.modules.objects = true
t.modules.physics = true
t.modules.sound = true
t.modules.system = true
t.modules.thread = true
t.modules.timer = true
t.modules.video = true
t.modules.window = true
end