deftest

Unit testing in Defold

MIT License

Stars
35

Bot releases are visible (Hide)

deftest - DefTest 2.8.0 Latest Release

Published by britzl about 1 year ago

NEW: Node color mock functionality
FIX: Clear params before use

Thanks @Insality

deftest - DefTest 2.7.2

Published by britzl about 2 years ago

FIX: The custom asserts assert_equals(...), assert_same(...) and assert_unique(...) will now return all values passed to the assert in the error message.

deftest - DefTest 2.7.1

Published by britzl about 5 years ago

FIX: Issue with message formatting when creating an assert

deftest - DefTest 2.7.0

Published by britzl over 5 years ago

NEW: Added support for test filtering using the pattern option

deftest - DefTest 2.6.0

Published by britzl almost 6 years ago

NEW: Mock of gui.clone()

deftest - DefTest 2.5.0

Published by britzl almost 6 years ago

NEW: Added support for gui.animate() and gui.cancel_animation()
FIX: Error when not providing a code coverage configuration

deftest - DefTest 2.4.3

Published by britzl about 6 years ago

FIX: Normalizing of filenames failed due to too aggressive stripping of file extensions

deftest - DefTest 2.4.2

Published by britzl about 6 years ago

FIX: Code coverage file inclusion improvement

deftest - DefTest 2.4.1

Published by britzl about 6 years ago

FIX: Code coverage didn't work properly when run on Linux due to differences in file path separators

deftest - DefTest 2.4.0

Published by britzl about 6 years ago

NEW: Added support for collecting code coverage using LuaCov

deftest - DefTest 2.3.0

Published by britzl over 6 years ago

NEW: Mock GUI now supports get and set node scale

deftest - DefTest 2.2.1

Published by britzl over 6 years ago

FIX: deftest.util.check.equal didn't convert args to strings when formatting the error message

deftest - DefTest 2.2.0

Published by britzl over 6 years ago

NEW: assert_same() and assert_unique()
CHANGE: assert_equal() accepts more than two values

deftest - DefTest 2.1.1

Published by britzl over 6 years ago

FIX: Node picking of child nodes didn't work in the mock gui

deftest - DefTest 2.1.0

Published by britzl over 6 years ago

NEW: Several new mocked gui functions
NEW: Added mock.gui.lua tests

deftest - DefTest 2.0.0

Published by britzl over 6 years ago

CHANGE: Moved deftest.mock.lua to deftest.mock.mock.lua
NEW: Added deftest.util.unload.lua
NEW: Added deftest.mock.gui.lua

deftest - DefTest 1.2.1

Published by britzl almost 7 years ago

Updated and added more tests

deftest - DefTest 1.2

Published by britzl almost 8 years ago

Added mock/time.lua to mock time functions such as socket.gettime() os.date() and os.time()

deftest - DefTest 1.1

Published by britzl almost 8 years ago

Moved mock_fs.lua to mock/fs.lua

deftest - DefTest 1.0

Published by britzl almost 8 years ago