Giter Club home page Giter Club logo

godog-jx's Introduction

Deprecated

We have moved to using these BDD tests instead: https://github.com/jenkins-x/bdd-jx

BDD tests for Jenkins X using Godog

This project contains the BDD tests for using Jenkins X with the jx command line

Prerequisits

Running the BDD tests

To specify a specific git provider and the git user/organisation to use for the tests:

export GIT_PROVIDER_URL="github.com"
export GIT_ORGANISATION="jstrachan"

The bdd tests will use your local jx setup in ~/.jx and defaults to the current git provider in ~/.jx/gitAuth.yaml

If you wish to use a different location for ~/.jx due to running on a CI system then use:

export JX_HOME=/foo/bar

To setup the git auth token first before running the tests you may wanna use a command like this:

  jx create git token -n MyGitServerName MyGitUser -t MyToken

Then to run the jx spring tests:

make jx-spring

Interactive mode

If you have not setup API tokens for your Jenkins or git provider use interactive mode to run a test:

export JX_INTERACTIVE="true"

You can then enter the required API tokens and whatnot on the first run. Future tests will not need interactive mode

godog-jx's People

Contributors

jstrachan avatar wbrefvem avatar i0n avatar rawlingsj avatar

Stargazers

Minwook Je avatar Justin Simon avatar M Haidar Hanif avatar Matteo Bigoi avatar Filippo Giunchedi avatar

Watchers

 avatar James Cloos avatar  avatar

godog-jx's Issues

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.