Skip to content

A repository containing some scripts and templates for testing.

License

Notifications You must be signed in to change notification settings

while-true-do/test-library

Repository files navigation

Build Status

test-library

A repository containing some scripts and templates for testing.

Motivation

During the past years, while-true-do.io opened and closed some repositories. Keeping track of common tests and test templates should be easy and maintainable .Re-testing existing repositories without touching each repository should be painless, too.

Description

The scripts maintained in this repository should be considered as common test scenarios. You will find tests which can be run manually and automatically. The idea is, that you will be able to do the same tests on different OS, locally, remote or in a container.

Scripts

You will find the following scripts in this repository.

If you want to write your own scripts, please consider reading the DEVELOPMENT.md.

Templates

The following templates are maintained in this repository.

Requirements

For the library itself, you do not need any special tools or software. The scripts may need additional tools, which can be installed with the 'prep' action. Please read the Usage section for some more details.

Installation

Install from Github

git clone https://github.com/while-true-do/test-library.git

Usage

All of the scripts will provide "actions". The most useful action will be the help action, which will provide information about the script and it's functionality.

Actions

Actions are parameter / arguments, which trigger the correct use case. An action can have additional options or can be used standalone.

# Using the help action
scripts/tl-SCRIPT.sh help

# Using the test action
scripts/tl-SCRIPT.sh test

# Using the help of an action
scripts/tl-SCRIPT.sh test --help

The most common actions are help, test and prep. It is possible to specify more for specific tasks like configurations, pulling updates, etc.

action description mandatory
help Shows the help for a script. yes
test Runs the tests. yes
prep Preparations for tests. no

Testing

Most of the "generic" tests are located our Test Library. Tests and instructions for a single repository are located in the Test Directory.

Contribute

Thank you so much for considering to contribute. We are very happy, when somebody is joining the hard work. Please fell free to open Bugs, Feature Requests or Pull Requests after reading the Contribution Guideline.

License

This work is licensed under a BSD-3-Clause License.

Contact

About

A repository containing some scripts and templates for testing.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages