RMUnit – Test Framework
This is a unit test framework provided for RPG Maker VX Ace. It is built on top of Test::Unit and comes with a set of test suites specific for the default engine that comes with RM.
This is a work-in-progress and will be completed over time. This post begins by explaining how to get the test framework and how to set up your project to use it.
Download
Script: download here
Libraries: RMUnit
Git repository: https://github.com/HimeWorks/RMUnit
Installation
There are two ways to get the framework.
The project is stored on github, so you can simply check out a copy into your project’s System folder.
The other way is to manually download the framework:
- Download RMUnit library and extract the contents to your project’s System folder
- Download the RMUnit script and place it below Materials and above Main
Turn on your console and run your game. You should see the results of the test execution.
Usage
The framework is pretty simple
- Write some test suites
- Add them to the list of TestSuites in the configuration section
- Playtest your game
Hopefully there will be more instructions as the framework is developed and more standards are established.
Scripter’s tool that allows them to test their scripts to see whether they work or not without having to manually do a bunch of testing everytime.
What is that, exactly?