Skip to content

Installation

JohnBeaufoy edited this page Oct 10, 2018 · 1 revision

Pre-requisites

  • Your Jade Environment must be a minimum of version 7.1
  • Your Jade Environment cannot contain a schema called AutomatedTestSchema (that you may have created yourself)

Install

  • Clone or Download the repository
    The repo contains the schemas that you will load into your jade environment.

  • Schema load InstallRuntime.mul OR InstallDevelopment.mul into your Environment
    The Runtime mul installs the main schema only, whereas the development version additionally contains demo and test schemas.

UserSchema changes

A UserSchema is defined as a schema that you have ownership of.
It is recommended (but not a requirement) that you select the highest level UserSchema(s) you have for importing the Automated Test functionality.

  • Import Package AutomatedTestPackage into your UserSchema

  • Create method UserSchema::ATMock::createClass()
    Due to application context issues this method needs to be manually created in your UserSchema on the imported Package. The contents of this method can be found in AutomatedTestSchema::ATMock::zcode_createClass, which you then paste all but the method name from it into method ATMock::createClass().

  • Create method UserSchema::app::intialiseAutomatedTestRunner()
    Copy the contents from the equivalent in AutomatedTestSchema.

  • Create a Non-Gui Application called AutomatedTestRunner in your UserSchema
    Set the above intialiseAutomatedTestRunner() as the initialize method for it.

Clone this wiki locally