Sha256: e64323f22a9fc6b503ca2070b63107a9c5825b1d33e7b347aecf29ed9a8f432f

Contents?: true

Size: 1.83 KB

Versions: 6

Compression:

Stored size: 1.83 KB

Contents

= 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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
uttk-0.3.1.2 test/examples/README
uttk-0.3.5.0 test/examples/README
uttk-0.3.6.1 test/examples/README
uttk-0.4.6.1 test/examples/README
uttk-0.4.5.0 test/examples/README
uttk-0.4.6.2 test/examples/README