Skip to content

Latest commit

 

History

History
47 lines (45 loc) · 4.45 KB

README.md

File metadata and controls

47 lines (45 loc) · 4.45 KB

automacao_de_testes

Este projeto tem alguns exemplos de scripts de testes automatizados. Todo o material foi desenvolvido em Linux. Caso esteja usando Windows será necessaŕio adaptações. Uma outra alternativa é a utilização do Cygwin para execução de comandos Linux, ou utilizar o WSL.

Executar linter

flake8 --exclude venv,venv*,env*,sikuli* --ignore=E501

Ferramentas abordadas

mabl harnesses multiple AI technologies including generative AI to extend test coverage, improve reliability, and reduce maintenance.

Open source record and playback test automation for the web.

No framework

Execução de testes sem ferramenta de mercado para mostrar que é possível automatizar mesmo com poucos recursos.

WebDriver drives a browser natively, as a user would, either locally or on a remote machine using the Selenium server. It marks a leap forward in terms of browser automation.

The pytest framework makes it easy to write small, readable tests, and can scale to support complex functional testing for applications and libraries.

SikuliX allows one to automate visual workflows

dogtail is a GUI test tool and UI automation framework written in Python. It uses Accessibility (a11y) technologies to communicate with desktop applications. dogtail scripts are written in Python and executed like any other Python program.

Behavior-driven development (or BDD) is an agile software development technique that encourages collaboration between developers, QA and non-technical or business participants in a software project.

The Apache JMeter™ application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.

Caqui is intended to command executions against Drivers synchronously and asynchronously.

Postman is your single platform for collaborative API development.

Robot Framework is an open source automation framework for test automation and robotic process automation (RPA).

Padrões de projeto

Within your web app’s UI, there are areas where your tests interact with. A Page Object only models these as objects within the test code. This reduces the amount of duplicated code and means that if the UI changes, the fix needs only to be applied in one place.

Arrange is where we prepare everything for our test. Act is the singular, state-changing action that kicks off the behavior we want to test. Assert is where we look at that resulting state and check if it looks how we’d expect after the dust has settled.

Gherkin uses a set of special keywords to give structure and meaning to executable specifications. Each keyword is translated to many spoken languages.

Object Repository

Este padrão não tem intenção de ser usado no mercado, mas mostra que novos padrões podem ser explorados além dos mais conhecidos da literatura.

The intent of this pattern is to simplify UI test automation. It was inspired by Page Objects, App Actions, and Screenplay. Page Transactions focus on the operations (transactions) a user can perform on a web page, such as Login, Logout, or Submit Forms.

The Screenplay Pattern is an innovative, user-centred approach to writing high-quality automated acceptance tests. It steers your team towards effectively using layers of abstraction, helps your test scenarios capture the business vocabulary of your domain, and encourages good testing and software engineering habits.