Nice TWiki > Dev > AutomatedTests > WritingAutomatedTests TWiki webs:
Dev | Doc | Main | TWiki | Sandbox
Dev . { Changes | Index | Search | Go }

Generalities

A test is a procedure that checks some functionality of the Nice compiler.

Format

Each test consists of an executable file. It must be placed in the toplevel directory of the framework. The file name must be of the form: .test Most likely, it will consist of a shell script, that drives the compilation of some code, and returns an exit code to report how it went.

Variables

The script can use the following environment variables:

Exit codes

Output

The test script should output on standard out detailed information about the execution of the test. This output will be stored, and can be used to diagnose why a test failed.

-- DanielBonniot - 22 Jun 2003

Topic WritingAutomatedTests . { Edit | Attach | Ref-By | Printable | Diffs | r1.1 | More }
Revision r1.1 - 22 Jun 2003 - 10:06 GMT - DanielBonniot
Parents: WebHome > AutomatedTests
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.