aboutsummaryrefslogtreecommitdiff
path: root/busted.spec
diff options
context:
space:
mode:
authorAlexander Pickering <alex@cogarr.net>2018-10-31 12:43:59 -0400
committerAlexander Pickering <alex@cogarr.net>2018-10-31 12:43:59 -0400
commit9e9be703c8f1c58c76fd2051dd6fa6ce49a7a306 (patch)
tree4df0478902e8653e91139764d5964831dcb9b525 /busted.spec
parent6e5697a125973bca83d368364e088777d23f824a (diff)
downloadbrokengine-9e9be703c8f1c58c76fd2051dd6fa6ce49a7a306.tar.gz
brokengine-9e9be703c8f1c58c76fd2051dd6fa6ce49a7a306.tar.bz2
brokengine-9e9be703c8f1c58c76fd2051dd6fa6ce49a7a306.zip
Started on unit tests
Added a GAME.exit() function Added some bare bones unit tests
Diffstat (limited to 'busted.spec')
-rw-r--r--busted.spec37
1 files changed, 37 insertions, 0 deletions
diff --git a/busted.spec b/busted.spec
new file mode 100644
index 0000000..9399ee4
--- /dev/null
+++ b/busted.spec
@@ -0,0 +1,37 @@
+
+local function create_test_file(str)
+
+end
+
+describe("brokengine",function()
+ describe("gui library",function()
+ for k,v in pairs({
+ "button",
+ "checkbox",
+ "colorselector",
+ "combobox",
+ "contextmenu",
+ "editbox",
+ "fileopen",
+ "image",
+ "imagelist",
+ "inoutfader",
+ "listbox",
+ "meshviewer",
+ "scrollbar",
+ "spinbox",
+ "statictext",
+ "tab",
+ "tabcontrol",
+ "table",
+ "toolbar",
+ "treeview",
+ "treeviewnode",
+ "window"
+ }) do
+ it(string.format("should be able to create a %s",v),function()
+
+ end)
+ end
+ end)
+end)