You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"note":"Don't delete this file! It's used internally to help with page regeneration.","name":"Busted","google":"","body":"busted\r\n======\r\n\r\nAwesome unit testing in Lua.\r\n\r\n## Usage\r\n\r\n```lua\r\nrequire(\"busted\")\r\n\r\ndescribe(\"Busted unit testing framework, function()\r\n describe(\"should be awesome\", function()\r\n it(\"should be easy to use\", function()\r\n assert.truthy(\"Yup.\")\r\n end)\r\n\r\n it(\"should have lots of features, function()\r\n assert_equal({ table = \"great\"}, { table = \"great\" })\r\n assert.not_same({ table = \"great\"}, { table = \"great\"})\r\n end)\r\n\r\n it(\"should be easy to read\", function()\r\n object_mock = mock(myObject)\r\n spy_on(object_mock.alert)\r\n\r\n object_mock.alert(\"Lua\")\r\n\r\n assert.called_with(\"object_mock\", \"Lua\")\r\n end)\r\n end)\r\nend)\r\n```\r\n","tagline":"Elegant Lua unit testing."}