telefonicaid/bbutton-tests

Name: bbutton-tests

Owner: Telefónica I+D

Description: BButton project Tests repository

Created: 2015-09-25 10:24:55.0

Updated: 2016-12-21 14:14:11.0

Pushed: 2016-03-08 11:24:37.0

Homepage: null

Size: 182

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

bbutton-tests

BButton project Tests repository

How to launch the tests
Requirements

To launch the tests need python 2.7 and the required libs listed in the requirements file

clone https://github.com/telefonicaid/bbutton-tests.git
button-tests/
ional) git checkout develop
install -r requirements.txt
Config your environment

In the instances.json file set your ips of the instances under test Set your ports and config in the properties.json file (if needed)

ests/properties.json 
ests/instances.json
Launch the tests:

The tests are tagged to be launched.

Smoke tests are under the tag “ft-smoke”

ave tests/ --tags=ft-smoke

Happy path tests are under the tag “ft-happypath”

ave tests/ --tags=ft-happypath

Once the buttons are created if you want to relaunch just the flows (with the same values or others)

ave tests/ --tags=hp-button-flows

To launch just a type os sync flow:

ave tests/ --tags=hp-button-async

OR

ave tests/ --tags=hp-button-sync
Enjoy :)

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.