Giter Site home page Giter Site logo

linuxsuren / acceptance-test-harness Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jenkinsci/acceptance-test-harness

0.0 3.0 1.0 10.01 MB

Acceptance tests cases for Jenkins and its plug-ins based on selenium and docker.

Shell 0.57% Groovy 0.45% Java 97.32% Ruby 0.15% PHP 1.46% JavaScript 0.02% HTML 0.01% CSS 0.01% C# 0.02%

acceptance-test-harness's Introduction

Acceptance tests for Jenkins

End to end test suite for Jenkins automation server and its plugins.

The scenarios are described ain form of tests controlling Jenkins under test (JUT) through UI / REST API. Clean instance is started for individual tests to isolate the tests. The harness provides convenient docker support so integration tests can be written easily.

Getting Started

The simplest way to start the harness is calling BROWSER=firefox JENKINS_VERSION=2.73 mvn test. Complete test suite takes hours to run due to the number of covered components/use-cases, the cost of Jenkins setup and selenium interactions. That can be avoided by selecting a subset of tests to be run - smoke tests for instance.

Further Reading

Running tests

The harness provides a variety of ways to configure the execution including:

Writing tests

Given how long it takes for the suite to run, test authors are advised to focus on the most popular plugins and use-cases to maximize the value of the test suite. Tests that can or already are written as a part of core/plugin tests should be avoided here as well as tests unlikely to catch future regressions (reproducers for individual bugs, boundary condition testing, etc.). Individual maintainers are expected to update their tests reflecting core/plugin changes as well as ensuring the tests does not produce false positives. Tests identified to violate this guideline might be removed without author's notice for the sake of suite reliability.

Areas where acceptance-tests-harness is more suitable then jenkins-test-harness are:

  • Installing plugins for cross-plugin integration
  • Running tests in realistic classloader environment
  • Verifying UI behaviour in actual web browser

acceptance-test-harness's People

Contributors

abayer avatar andresrc avatar armfergom avatar chr-fritz avatar darenegade avatar eidottermihi avatar fcojfernandez avatar hm-ende avatar itgkarl avatar jglick avatar jtnord avatar koceluch avatar kohsuke avatar larcagur avatar lordofthejars avatar marco-miller avatar martku avatar olivergondza avatar peter-mueller avatar raul-arabaolaza avatar rsandell avatar scoheb avatar stefanschuhbaeck avatar stephenc avatar tobiwan88 avatar trampi avatar uhafner avatar vivek avatar vjuranek avatar wlash avatar

Watchers

 avatar  avatar  avatar

Forkers

nelence

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.