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.1.tar.gz (124.8 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.1-py3-none-any.whl (137.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ftsa-tjpb-2.6.1.tar.gz
  • Upload date:
  • Size: 124.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for ftsa-tjpb-2.6.1.tar.gz
Algorithm Hash digest
SHA256 4c56d061f488d8742fa4bb7429748504a2252c85eb48255c01d65a50ab3e1562
MD5 32494af78643e78a7576d610e73f9e55
BLAKE2b-256 2c10b3433426c311e94d6a2b9561d70a0cdffe85672eeecec52179d2d308be11

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ftsa_tjpb-2.6.1-py3-none-any.whl
  • Upload date:
  • Size: 137.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for ftsa_tjpb-2.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 74611ca4820d7deed2289143191f67a32f2103955d8ff275932a6d058ef9947b
MD5 184a043d15c7db151da40a06d1069978
BLAKE2b-256 420defeabd6dc1307eec05e12fb0e19774065183542bb5a643d3e7ad8fe305c1

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