Test Library for userpool support.
Project description
UserpoolLibrary
Library Scope: GLOBAL
Created: 09/10/2019 15:58 UTC-8
Author: Shiela Buitizon | email:shiela.buitizon@mnltechnology.com
Company: Spiralworks Technologies Inc.
Contents:
Introduction
UserpoolLibrary is a Robotframework test Library for userpool support.
View the latest keyword Documentation here.
Installation
Option 1
Install using pypi, run:
pip install rf-userpoollibrary
Option 2
With recent version of pip
, it is possible to install directly from GitHub repository. To Install latest source
from the master branch, use this command:
pip install git+https://github.com/MainSystemDev/rf-userpoollibrary.git
Please note that installation will take some time, because pip
will
clone the UserpoolLibrary project to a temporary directory and then
perform the installation.
Usage
To use UserpoolLibrary in Robot Framework tests, the library needs to
first be imported using the Library
setting as any other library.
*** Settings ***
Library UserpoolLibrary http://myhost.com/userpoolapi/129
*** Test Cases ***
Borrow User
${user} Borrow User
Log To Console ${user}
Generating Documentation
To Generate the keyword Documentation, simple run:
python -m robot.libdoc UserpoolLibrary docs/index.html
Where: docs/index.html is the output file. Note that the library must first be installed before generating a documentation or running unittest
Execute Unit Test
python -m unittest
Install requirements-dev.txt in shell runner
This is for running pep8 style guide for python
sudo -H pip install -r requirements-dev.txt
Execute code sytle check
pycodestyle --max-line-length=165 src
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for rf_userpoollibrary-0.9b11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d381743193e3d07318f41e6c8cbc34c703744ae1407c927d24b59feca8ebfb0 |
|
MD5 | 69d2098b55d8ab0ad7fdb46a7c83d3cd |
|
BLAKE2b-256 | db792493f128194301eb7b962c279c7d426f04a700a848f26c96434fadaee504 |