RMUnit – Test Framework

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

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:

  1. Download RMUnit library and extract the contents to your project’s System folderrmunit3
  2. 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.

rmunit2

Usage

The framework is pretty simple

  1. Write some test suites
  2. Add them to the list of TestSuites in the configuration section
  3. Playtest your game

Hopefully there will be more instructions as the framework is developed and more standards are established.

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

You may also like...

2 Responses

  1. Tsukihime says:

    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.

  2. Shin says:

    What is that, exactly?

Leave a Reply

Your email address will not be published.

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax