README

Path: test/examples/README
Last Update: Sat Sep 30 09:47:18 +0200 2006

Introduction

This directory contains a set of a typical examples of Uttk. In this directory you can find several test examples.You can run all the tests included in this directory by simply typing this command:

  $ uttk test/examples-suite.yml

Cache

This example shows you how to use the cache feature of Uttk to avoid to rerun all the time, already pass test. Use it this way.

  $ uttk -C test/examples/cache/simple.yml

In this mode, Uttk is interactive. If the suite failed, it will ask you to rerun it. Since this suite is designed to fail 5 times.

SQL

This example shows you how you can test your SQL queries. See the Uttk::Strategies::SqlQuery strategy documentation for further informations.

 $ uttk test/examples/sql/basic.yml

Students

This directory consists of several examples that show how to test a complete tarball or a mini library or a set of students program. You can run all the tests included in this directory by simply typing this command:

  $ uttk test/examples/students-suite.yml

ball.yml

It applies one test to a tarball containing a basic project (helloworld). See the Uttk::Strategies::Package documentation for further information.

  $ uttk test/examples/students/ball.yml

stud.yml

It applies several tests to a basic tarball containing a simple `exit’ program.

  $ uttk test/examples/students/stud.yml

pool_stud.yml

It does the same as `stud.yml’ but in a parallelized way instead of a sequence way.

  $ uttk test/examples/students/pool_stud.yml

glob_stud.yml

It collects a set of tarballs and apply them a sequence of tests. See the Uttk::Strategies::Glob documentation for further information.

  $ uttk test/examples/students/glob_stud.yml

mini-lib.yml

It applies to a set of tarball containing a library and applies them a sequence of tests.

  $ uttk test/examples/students/mini-lib.yml

[Validate]