All Projects → perrygoy → screenpy

perrygoy / screenpy

Licence: MIT license
Screenplay pattern base for Python automated UI test suites.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to screenpy

Python-Test-Automation-Framework
Test Automation Framework using selenium and Python
Stars: ✭ 41 (+7.89%)
Mutual labels:  test-automation, allure
Atata
C#/.NET test automation framework for web
Stars: ✭ 362 (+852.63%)
Mutual labels:  test-automation, automated-testing
karate-runner
VSCode Extension for Karate
Stars: ✭ 23 (-39.47%)
Mutual labels:  test-automation, automated-testing
powerapps-specflow-bindings
A SpecFlow bindings library for model-driven Power Apps.
Stars: ✭ 19 (-50%)
Mutual labels:  test-automation, automated-testing
Poco
A cross-engine test automation framework based on UI inspection
Stars: ✭ 1,177 (+2997.37%)
Mutual labels:  test-automation, automated-testing
Solopi
SoloPi 自动化测试工具
Stars: ✭ 4,461 (+11639.47%)
Mutual labels:  test-automation, automated-testing
Seleniumbase
A Python framework that inspires developers to become better test automation engineers. 🧠💡
Stars: ✭ 2,520 (+6531.58%)
Mutual labels:  test-automation, selenium-python
jdi-dark
Powerful Framework for Backend Automation Testing on Java (Rest, Soap, WebSocket)
Stars: ✭ 36 (-5.26%)
Mutual labels:  test-automation, automated-testing
Airtest
UI Automation Framework for Games and Apps
Stars: ✭ 5,733 (+14986.84%)
Mutual labels:  test-automation, automated-testing
Karate
Test Automation Made Simple
Stars: ✭ 5,497 (+14365.79%)
Mutual labels:  test-automation, automated-testing
allure-nunit
Archived - Allure adapter for NUnit framework.
Stars: ✭ 45 (+18.42%)
Mutual labels:  test-automation, allure
karate
Test Automation Made Simple
Stars: ✭ 6,384 (+16700%)
Mutual labels:  test-automation, automated-testing
selenium-java
This is the sample repository that we use in the Complete Selenium WebDriver with Java Bootcamp
Stars: ✭ 45 (+18.42%)
Mutual labels:  test-automation
allure-kotlin
Allure integrations for test frameworks targeting Kotlin and Java with 1.6 source compatibility.
Stars: ✭ 40 (+5.26%)
Mutual labels:  allure
karate-grpc
gRPC Testing Made Simple by Karate
Stars: ✭ 43 (+13.16%)
Mutual labels:  test-automation
replaykit.py
Python SDK for using Appetizer replaykit
Stars: ✭ 18 (-52.63%)
Mutual labels:  test-automation
gtest
Go test utility library inspired by pytest
Stars: ✭ 27 (-28.95%)
Mutual labels:  test-automation
cucumber-performance
A performance testing framework for cucumber
Stars: ✭ 28 (-26.32%)
Mutual labels:  automated-testing
ios-device-server
A server to manage remote iOS simulators and devices for parallel testing
Stars: ✭ 37 (-2.63%)
Mutual labels:  test-automation
toradocu
Toradocu - automated generation of test oracles from Javadoc documentation
Stars: ✭ 39 (+2.63%)
Mutual labels:  test-automation

Hey all, Version 3.2.9 is the last version hosted from this repository. Starting at version 4.0.0, ScreenPy is hosted at ScreenPyHQ's fork.

This change is because, starting with version 4.0.0, ScreenPy is broken up by the Abilities provided to the Actors. This will both allow for better organization of Actions and better exemplify the compositional nature of this framework.

This major version bump will be very disruptive, so i'll support versions 3.x from this repo.

See you all at ScreenPyHQ!


ScreenPy

TITLE CARD:
                                  "ScreenPy"
TITLE DISAPPEARS.
                                                                      FADE IN:
INT. DOCUMENTATION - NIGHT

Illuminated by the computer's glow, AUDIENCE sits reading the documentation
for a Python library they haven't seen before. AUDIENCE is visibly startled
as a dulcet voice begins to speak.

                              NARRATOR (V.O.)
            ScreenPy is a library that provides the base for an
            automated test suite using Screenplay Pattern.

                              AUDIENCE
            Wha- who are you? Where are you? And... what is
            Screenplay Pattern?!

                              NARRATOR (V.O.)
            It's a composition-based architecture pattern,
            encouraging automated test writers to write more
            maintainable test suites. It allows test writers to
            use Gherkin-style language in Python to create
            descriptive UI tests.

                              AUDIENCE
                              (reluctantly)
            Ignoring how you avoided answering my first questions,
            how do I get started?

                              NARRATOR (V.O.)
            I thought you'd never ask...

                                                                      FADE OUT

Installation

pip install screenpy

Documentation

Please check out the Read The Docs documentation for the latest information about this module!

Quickstart

Once installed, to set up a Screenplay Pattern scaffolding in your project, cd to the folder you will use for your suite and run this command:

screenpy-quickstart

Note that the Python script directory will need to be on your path to find screenpy-quickstart.

This will set up user_interface, tasks, and features directories and fill them with a simple test. For explanations on what these directories are for, see the File Hierarchy documentation

Allure Integration

ScreenPy utilizes Allure to document the action. If you would like to see an allure report of your Screenplay Suite, run the test using PyTest like so:

python -m pytest features --alluredir allure_report
allure serve allure_report

Contributing

You want to contribute? Great! Here are the things you should do before submitting your PR:

  1. Install pre-commit
  2. run pre-commit install once.
  3. run tox to perform tests frequently.

That's it! :)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].