Skip to main content

Framework de Teste de Sistemas Automatizado

Project description

FTSA-TJPB

Welcome to FTSA (Automation Software Tests Framework) from TJPB (Courte of Justice, State of Paraiba / Brazil), or simply FTSA-TJPB.

This framework provides libraries to perform automated acceptance tests through web and mobile interfaces or services, API rest and database tests.

This page provides a brief documentation for installation and operations that are allowed to perform with this client command prompt.

Project at all is composed by the following modules:

  • CLI: or client, that make available commands to prompt or terminals.
  • CORE: that provide extensions of the Robot API in a series of customized keywords to TJPB context of tests automation.
  • Central: (unavailable) web environment to manage project and products, BDD requirements specification, test suites selection and execution (manual or automated, by version and baselines), and tests metrics and consolidated reports.

FTSA-TJPB-CLI

Instalação

Your host machine must be able and configured with python 3.8+ and Docker Engine 20+.

Pre-Requirements

  1. You must configure in your host machine Oracle 11+, MySQL 8+ or PostgreSQL 10+ clients in order to run correctly tests. Bellow you can see a linux Fedora list of command that enable configuration you need (execute in presented order):
dnf upgrade -y && dnf update -y
dnf install -y python39 pip docker wget
dnf module install -y nodejs:12
dnf install -y libpq-devel
wget https://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-python3-8.0.25-1.fc34.x86_64.rpm
dnf localinstall -y mysql-connector-python3-8.0.25-1.fc34.x86_64.rpm
wget https://dev.mysql.com/get/Downloads/Connector-ODBC/8.0/mysql-connector-odbc-8.0.25-1.fc34.x86_64.rpm
dnf localinstall -y mysql-connector-odbc-8.0.25-1.fc34.x86_64.rpm
wget https://dev.mysql.com/get/Downloads/Connector-ODBC/8.0/mysql-connector-odbc-setup-8.0.25-1.fc34.x86_64.rpm
dnf localinstall -y mysql-connector-odbc-setup-8.0.25-1.fc34.x86_64.rpm
dnf install -y libaio libnsl
wget https://download.oracle.com/otn_software/linux/instantclient/19600/oracle-instantclient19.6-basic-19.6.0.0.0-1.x86_64.rpm
dnf localinstall -y oracle-instantclient19.6-basic-19.6.0.0.0-1.x86_64.rpm
  1. Then, install FTSA-CLI pre-requirements:
pip install docker setuptools wheel twine
  1. Finally, install FTSA-CLI:
pip install ftsa-tjpb

List of Commands

Here, follow the list of commands you can use with this client:

  1. ftsa install: installs all framework dependencies.
  2. ftsa upgrade: upgrades all framework dependencies.
  3. ftsa uninstall: uninstalls all framework dependencies.
  4. ftsa report: runs tests using Docker engine, recording (in case of web ui) execution videos and generating execution result report.
    • -i <tag> or --include <tag>: includes a tag to the execution. Ex: -i uc001 -i uc002
    • -e <tag> or --exclude <tag>: excludes a tag of the execution. Ex: -e fe
    • -nd of --nodocker: ignores Docker and performs tests using local browser.
  5. ftsa docker-report: runs tests using an external docker engine
    • -i <tag> or --include <tag>: includes a tag to the execution. Ex: -i uc001 -i uc002
    • -e <tag> or --exclude <tag>: excludes a tag of the execution. Ex: -e fe
    • -n <network_name> or --net <network_name: informs docker network (grid) name. Default: yyyymmdd_grid (year, month, day)
    • -c <container_name> or --container <container_name>: informs the docker execution container name. Default: execution_robot
    • -p or --pull: pulls the container image from Docker Hub although creating it locally using Dockerfile.
    • -dh or --dockerhost: informs IP or docker host name address to docker client host machine. Default: localhost.
    • -nd of --nodocker: ignores Docker and performs tests using local browser.

Contact and support

Carlos Diego Quirino Lima

Felipe Dias

Rogerio Trevian Nibon

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ftsa-tjpb-2.6.0.tar.gz (125.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ftsa_tjpb-2.6.0-py3-none-any.whl (137.3 kB view details)

Uploaded Python 3

File details

Details for the file ftsa-tjpb-2.6.0.tar.gz.

File metadata

  • Download URL: ftsa-tjpb-2.6.0.tar.gz
  • Upload date:
  • Size: 125.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for ftsa-tjpb-2.6.0.tar.gz
Algorithm Hash digest
SHA256 70a6de78b036f48a1654ccde5fba340e411ad090d625ce80f3227ee150aadec6
MD5 84d3e2c84ec23a3097475928b3b217d2
BLAKE2b-256 29f24b443742ba8a2b6aeab03cb8ef48b49d5754c7c73e29ad856190a5b255ec

See more details on using hashes here.

File details

Details for the file ftsa_tjpb-2.6.0-py3-none-any.whl.

File metadata

  • Download URL: ftsa_tjpb-2.6.0-py3-none-any.whl
  • Upload date:
  • Size: 137.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for ftsa_tjpb-2.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1faaf15a4eb224ef0cf966586abd5df02234e9da83c034298f55ef326392175a
MD5 151c68aa5930e11778c76fba90f70a63
BLAKE2b-256 80f2bbb45819f15639c17c83096e8a37dc6bba30fa1238acd29df4a94717a15b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page