Giter Club home page Giter Club logo

smartunit's Introduction

SmartUnit is intended to be a place where unit test utility and helper classes can be collected to be shared.

SmartUnit artifacts, including sources and javadocs, are available on the central Maven repository.

Have a look at our wiki for more information.

TravisCI Build Status

Release

Before initiating a release it's strongly adviced to execute the full integration test suite which is normally not executed during the common install phase. During the release phase the additional ie, chrome and firefox Maven profiles are enabled which execute browser specific tests: this means the releaser need to have a Windows box (due to Internet Explorer dependency) with the Selenium IE and Chrome drivers installed (Firefox does not need a driver). The easiest way to provide the additional drivers path is to use system properties:

mvn integration-test -Pfirefox,chrome,ie -Dwebdriver.ie.driver=<path>\IEDriverServer.exe -Dwebdriver.chrome.driver=<path>\chromedriver.exe

Please note that the Selenium driver for Internet Explorer requires to set the protection mode to be the same on all zones, otherwise the browser will detach unexpectedly.

Do not proceed to the release process unless the above command executes without errors

To prepare and perform the release multiple unix like commands needs to be on the path, the simplest way to have them all is to perform the release within the Git Bash shell.

The gpg command must be on the PATH in order to sign the artifacts so it's better to double check the environment configuration and your passphrase by running:

$> gpg --output test.sig --sign <anyfile>

Additionally git, ssh and ssh-agent executables must be on the PATH, the latter with your Github SSH key loaded:

$> eval$(ssh-agent)
$> ssh-add ~/.ssh/id_rsa
$> ssh -T [email protected]

Release Keys

Three keys are required for the release: a GPG one to sign the artifacts, an RSA one to commit release changes on Github and an RSA one to push the artifacts onto the Maven Central repository (hosted by Sonatype).

You can use the same RSA key for both Github and Sonatype to reduce the amount of passwords and configurations if you wish.

smartunit's People

Contributors

rlogiacco avatar twillouer avatar tychobrailleur 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.