<commit_before>POC of Java based framework for E2E UI testing of http://demos.telerik.com/kendo-ui/websushi/ website.

This project is meant for educational purposes only. 

[![Travis Status](https://travis-ci.org/saucelabs-sample-test-frameworks/Java-Junit-Selenium.svg?branch=master)](https://travis-ci.org/saucelabs-sample-test-frameworks/Java-Junit-Selenium)


#### Dependencies

    selenium = "2.49.0"
    assertj = "3.6.1"
    jbehave = "4.0.5"
    junit = "4.11"
    jehaveWebSelenium = "3.5.5"

#### System requirements

* Java 8
* Gradle
* Chrome browser

### Environment Setup

1. Global Dependencies
    * Download [Gradle](https://gradle.org/gradle-download/)
    * or Install Gradle with [Homebrew](http://brew.sh/) (for MacOS)
    ```
    $ brew install gradle
    ```
2. Sauce Labs Credentials
    * In the terminal, export your Sauce Labs credentials as environmental variables:
    ```
    $ export SAUCE_USERNAME=<your Sauce Labs username>
    $ export SAUCE_ACCESS_KEY=<your Sauce Labs access key>
    ```
    
    * or add two new Environment Variables in Windows (restart required)

3. Local ChromeDriver configuration

* Under 'utils' folder create a new directory, with name that match your ChromeDriver version (e.g. "2.27")

* Download the latest version of ChromeDriver from:
  https://sites.google.com/a/chromium.org/chromedriver/downloads

* Copy ChromeDriver executable to created folder.

* Update *ChromeDriverVersion* in **test.properties** file:

        ChromeDriverVersion = 2.27
        
* Update *createAndStartService()* method in **BaseStory.class** in order to use local ChromeDriver

#### Running

$ gradle clean e2e

or

$ gradle clean e2e --info

for observing the test output in console.

#### Resources
##### [Sauce Labs Documentation](https://wiki.saucelabs.com/)

##### [SeleniumHQ Documentation](http://www.seleniumhq.org/docs/)

##### [Junit Documentation](http://junit.org/javadoc/latest/index.html)

##### [Java Documentation](https://docs.oracle.com/javase/7/docs/api/)

*This code is provided on an "AS-IS” basis without warranty of any kind, either express or implied, including without limitation any implied warranties of condition, uninterrupted use, merchantability, fitness for a particular purpose, or non-infringement. Your tests and testing environments may require you to modify this framework. Issues regarding this framework should be submitted through GitHub.*<commit_msg>Update of CI status in README.md<commit_after>POC of Java based framework for E2E UI testing of http://demos.telerik.com/kendo-ui/websushi/ website.

This project is meant for educational purposes only. 

[![Travis Status](https://travis-ci.org/testoftiramisu/AutomationTraining.svg?branch=master)](https://travis-ci.org/testoftiramisu/AutomationTraining)


#### Dependencies

    selenium = "2.49.0"
    assertj = "3.6.1"
    jbehave = "4.0.5"
    junit = "4.11"
    jehaveWebSelenium = "3.5.5"

#### System requirements

* Java 8
* Gradle
* Chrome browser

### Environment Setup

1. Global Dependencies
    * Download [Gradle](https://gradle.org/gradle-download/)
    * or Install Gradle with [Homebrew](http://brew.sh/) (for MacOS)
    ```
    $ brew install gradle
    ```
2. Sauce Labs Credentials
    * In the terminal, export your Sauce Labs credentials as environmental variables:
    ```
    $ export SAUCE_USERNAME=<your Sauce Labs username>
    $ export SAUCE_ACCESS_KEY=<your Sauce Labs access key>
    ```
    
    * or add two new Environment Variables in Windows (restart required)

3. Local ChromeDriver configuration

    * Under 'utils' folder create a new directory, with name that match your ChromeDriver version (e.g. "2.27")

    * Download the latest version of ChromeDriver from:
  https://sites.google.com/a/chromium.org/chromedriver/downloads

    * Copy ChromeDriver executable to created folder.

    * Update *ChromeDriverVersion* in **test.properties** file:

            ChromeDriverVersion = 2.27
        
    * Update *createAndStartService()* method in **BaseStory.class** in order to use local ChromeDriver

#### Running

$ gradle clean e2e

or

$ gradle clean e2e --info

for observing the test output in console.

#### Resources
##### [Sauce Labs Documentation](https://wiki.saucelabs.com/)

##### [SeleniumHQ Documentation](http://www.seleniumhq.org/docs/)

##### [Junit Documentation](http://junit.org/javadoc/latest/index.html)

##### [Java Documentation](https://docs.oracle.com/javase/7/docs/api/)

*This code is provided on an "AS-IS” basis without warranty of any kind, either express or implied, including without limitation any implied warranties of condition, uninterrupted use, merchantability, fitness for a particular purpose, or non-infringement. Your tests and testing environments may require you to modify this framework. Issues regarding this framework should be submitted through GitHub.*
{'fraction_non_alphanumeric': 0.11406921974196191, 'fraction_numerical': 0.012287528158918698, 'mean_word_length': 3.9583756345177665, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 12, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1579587', 'n_tokens_mistral': 1519, 'n_tokens_neox': 1423, 'n_words': 458}