Git Product home page Git Product logo

automtest's Introduction

AutomTest 3.0

Article on AutomTest's First version: Towards a Test Case Generation Tool Based on Functional Requirements https://dl.acm.org/doi/10.1145/3439961.3440002

Endpoints:

  • Recebe uma história de usuário e seu idioma
  • Retorna uma coleção de métodos

Para instalação do projeto:

  1. pip install -r .\requirements.txt'
  2. python3 -m spacy download pt_core_news_md

Para executar:

Primeiro, você precisa do arquivo SecretConfig.py no diretório /environment dentro do projeto. Esse diretório deve conter as chaves de API necessárias ao AutomTest. O conteúdo do arquivo deve ser algo semelhante ao apresentado abaixo:

API_KEY = "key_aqui"
OPEN_AI_API_KEY = "outra_key_aqui"

Uma vez tendo o arquivo de chaves configurado, execute o arquivo api/app.py

Para construir arquivo .exe:

Dentro do diretório 'api' rode: pyinstaller app.spec

Remarks

1. Specification of some variable types

  • String

    • predefined sets:
    sign/signs
    alphanumeric/alphanumerics
    any/all
    number/numbers
    letter/letters	
    
    • substrings (example)
    [all][letter][alphanumeric]
    
    • size (example)
    [1~4][1][2~6]
    
  • Date:

    YYYY/MM/DD or YYYY-MM-DD
    

2. Possible error in package version requests

If you get this error:

/usr/lib/python3/dist-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version! warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported " Traceback (most recent call last): File "main.py", line 158, in <module> if ( p.telaInicialConjTesteCorreta(vals2[1],vals2[2]) and p.entradaTipoCorreta(MUT.output_type,vals2[3],vals2[4],vals2[5])): KeyError: 1

Run the command:

pip3 install --upgrade requests

Reference: https://stackoverflow.com/questions/56155627/requestsdependencywarning-urllib3-1-25-2-or-chardet-3-0-4-doesnt-match-a-s

automtest's People

Contributors

danieldavidf avatar joandersong avatar vsateoli avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.