From 9e9be703c8f1c58c76fd2051dd6fa6ce49a7a306 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Wed, 31 Oct 2018 12:43:59 -0400 Subject: Started on unit tests Added a GAME.exit() function Added some bare bones unit tests --- busted.spec | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 busted.spec (limited to 'busted.spec') 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) -- cgit v1.2.3-70-g09d2