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
  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.

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.5.1.tar.gz (26.9 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.5.1-py3-none-any.whl (37.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ftsa-tjpb-2.5.1.tar.gz
  • Upload date:
  • Size: 26.9 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.5.1.tar.gz
Algorithm Hash digest
SHA256 64cd9cb72971583dd52a85e3b9b350b528b97e68613b92fc1343c98e659fe171
MD5 5af779a53d34f28610cc649050024e80
BLAKE2b-256 72302af68a73c5310351af16599ac4560d4412687cb484166129d280d6af2462

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ftsa_tjpb-2.5.1-py3-none-any.whl
  • Upload date:
  • Size: 37.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.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 17be690badcf26d0849c09731da85c63f4269b6e09032352fb9a9523b540d940
MD5 99b0b086bee029a4efd3fe2a1d65fbb8
BLAKE2b-256 7488ff4eb633d3a5165af0a19ca60210d7b301d74f17be3750f73d82f7556199

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