Running unit tests inside Corona Simulator

For integration testing, I would like to run my automated tests against real Corona API’s instead of mocks. Therefore I need to run my test suite inside Corona Simulator.

Trying to do this with Busted (a popular Lua testing framework) I run into the issue of not having the dependencies inside the Simulator, that Busted needs. I also cannot add them to my source code, as Busted expects them to be in the search path, and manipulation it does not work in Corona.

Has anyone experiences with running Busted tests inside Simulator and has a setup script to share?

I don’t think you’ll be able to use Luarocks with Corona, without an Enterprise license, though I would love to see someone prove me wrong. I’m sure there are unit testing frameworks for Lua that can be used, I just haven’t used any.

You may want to look at using Develephants Lua Rocks project. It might lead you on the path. 

I don’t think you’ll be able to use Luarocks with Corona, without an Enterprise license, though I would love to see someone prove me wrong. I’m sure there are unit testing frameworks for Lua that can be used, I just haven’t used any.

You may want to look at using Develephants Lua Rocks project. It might lead you on the path.