-
Notifications
You must be signed in to change notification settings - Fork 27
Home
Welcome to the XojoUnit Wiki!
XojoUnit is a unit testing framework for Xojo.
Unit Testing is a concept for testing discrete components of your application. Unit tests typically test behind-the-scenes objects, methods and such. They do not test the user interface of your application. You typically run the unit tests frequently to verify that your application is behaving as expected. As an example, a unit test might be used to validate a calculation. Or it might be used to verify data retrieval from a database.
XojoUnit is a framework that makes it easy for you to create your own unit tests. These versions are available:
- XojoUnit Desktop
- XojoUnit Web
- XojoUnit Console
- XojoUnit iOS
XojoUnit Desktop has a window that displays the tests in your application, provides a way for you to run selected tests and displays test results. XojoUnit Web displays the results in a web page. XojoUnit Console displays results in a terminal or command prompt and also outputs a text file with the results. XojoUnit iOS run on iPad in landscape and displays results in a SplitView.
To use XojoUnit, first grab the project using the Zip download button or clone button on the front page. Once you have the project, open the version you want to use and copy its XojoUnit folder (from the Navigator) to your own project.