Code Monkey home page Code Monkey logo

test-library's Introduction

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

test-library's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.