Skip to content

Testing Your Application

Trevor DeVore edited this page Jun 15, 2017 · 10 revisions

Levure offers a couple of ways to test your application. The nice thing about LiveCode is that you are actually testing your application while you work on it in the IDE. It is a good idea to test your application in simlulators and as a standalone once in a while while developing.

Testing in a standalone

Levure can build standalones that can be used for testing your application on desktop platforms. The levureBuildStandalonesForTesting command will build standalones for the desktop platforms your application supports and place them in the ./builds/test folder. The standalones don't have any of your application code in them, however. The standalones will load your application files from the ./app folder. You can launch these test standalones at any point during development to see how your code works in a standalone.

Testing in a simulator

To test your application in the Android or iOS simulator run the following commands in the message box:

levurePackageApplication "ios simulator"
levurePackageApplication "android simulator"

Clone this wiki locally