Having looked at the about pages for Busted and Luaunit,
I personally think Busted would be a better unit
testing framework to use because:
1. Busted is provided by an open
source and alive Github project where as Luaunit
was made by one programmer and its development
ceased years ago.
2. Unlike Luaunit, Busted has a good
website and good documentation.
3. Busted supports more unit testing functionality with
support for Mocks, Stubs and Spies. Luaunit's about
page doesn't mention support for these things.
I still think personally that Busted would be a better choice than LuaUnit. It wouldn't be as light and simple to integrate as LuaUnit would be, but all of the extra functionality that Busted has will make it easier for unit tests to be made and automated. From what I've read about them today, I think Spy, Mock and Stub functions are useful unit testing framework features: http://www.elijahmanor.com/unit-test-like-a-secret-agent-with-sinon-js/
I think Busted having its own syntax isn't a problem because its syntax is simple and easy to learn.
Plus because Busted is provided by an open source Github project, members of our project could add functionality we require to Busted by submitting pull requests to its repository and then members of that project could help make the commits in these pull requests acceptable.
> <mailto:corsix-th-dev+unsub...@googlegroups.com>.
To unsubscribe from this group and stop receiving emails from it, send an email to corsix-th-de...@googlegroups.com.
> <mailto:corsix-th-dev+unsubscri...@googlegroups.com>.
> For more options, visit https://groups.google.com/groups/opt_out.
For more options, visit https://groups.google.com/d/optout.
I'm sorry I took ownership of this implementation task nearly a month ago and haven't finished it, I've not even started trying to integrate Busted with CorsixTH because I've not even been able to make Busted run on my Windows 8 OS yet. I guess Lego and the other project administrators must be pretty frustrated with me as a contributor who takes ownership of implementation tasks and then takes forever to get them finished.
I have less free time every day now and I now have a friend who has lots of time to spend playing online games with me because they are having a summer university semester break. Plus when I do spend time programming I'm dividing it up my between CorsixTH and a game I've been making. And because I've been enjoying working on my game more than the tasks I've been working on for CorsixTH, I've spending most of time working on it instead of CorsixTH. I do want to open source my game soon though.
So I now want to focus on finishing my hell deaths pull request before I spend any time working on anything else for CorsixTH. And I will spend at least an hour every day doing CorsixTH programming because I want to be a more dedicated contributor to this project.
I don't mind if someone else takes over the task of integrating a Lua unit testing framework with CorsixTH.
On Monday, 9 June 2014 15:45:48 UTC+1, Joe# wrote:
./spec/test_spec.lua:28: Expected to be falsy, but value was:
(boolean) trueassert.falsy(true)--