Reputation: 1
I have a question. Can I develop some unit tests in Lua in order to test an Android application or does Lua unit testing only apply to Lua code? If yes, how?
Thanks!
Upvotes: 0
Views: 390
Reputation: 52698
Lua unit testing only applies to Lua code.
However, you can still do Lua unit tests if you develop your android application in Lua.
You could, for example, use the corona SDK to do that.
Another (more difficult, less expensive) way to do that would be to use Lua directly from Java, for example with luajava, luaj, kahlua or mochalua. In that case, you would be able to test the Lua parts with Lua unit tests, but you would have to use something else for the Java part (something like JUnit)
Upvotes: 1