Giter Club home page Giter Club logo

s4a's Introduction

S4A

This a test project for Smart4Aviation

environment: This project supports only Python 3.x version (3.5).

To setup your environment you should:

  • Download and install python 3.5 - https://www.python.org/downloads/
  • Add installed python to your system environment
  • Install all required python libraries: selenium, faker, nose, fake-factory, nose-htmloutput.

** The main directory of the test project contains requirements.txt file. If you want to install all required python libraries, type in commnad line:

pip3 install -r requirements.txt

If you correctly setup your test environment, test suite should be ready to launch:

  • Open command line and navigate to path/to/test/directroy
  • Now type command: nosetests --with-html --nocapture --nologcapture --with-xunit

If you want to use other browser (default Chrome), you should edit config file. Open file path/to/your/repository/configuration/config.json in any text editor and edit first line:

replace:
"BROWSER": "CHROME"
on:
"BROWSER": "FF"

Available browsers: CHROME, FF, OPERA, EDGE, IE, SAFARI. - remeber that you have to have properly configured selenium browser driver!!!

TEST RESULTS:

Nosetests framework generates simple html test report. Test report file 'nosetests.html' is stored in main directory. Besides nosetests.xml file is also generated and can be used for test reporting by Jenkins or any other CI tool (read more about Jenkins test report analyzer plugin here: https://wiki.jenkins-ci.org/display/JENKINS/Test+Results+Analyzer+Plugin )

If any of test cases failed, test script automatically capture a screenshot. Screenshots are stored in your/path/to/project/S4A/screenshots/test_name.png.

s4a's People

Contributors

tanistra avatar

Watchers

James Cloos avatar  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.