Skip to main content

Python port of uzabase/playtest2

Project description

playtest2

PyPI - Version PyPI - Python Version


Table of Contents

Installation

Prerequisites

Setting up Gauge with playtest2

  1. Create a new dedicated virtual environment for Gauge in a separate directory from your E2E test project:
$ mkdir /path/to/gauge-project  # Specify your own path here
$ cd /path/to/gauge-project
$ python -m venv .venv --upgrade-deps
$ source .venv/bin/activate
  1. Install playtest2 in the virtual environment:
(.venv) $ python -m pip install playtest2

Usage

Gauge Configuration

python.properties

STEP_IMPL_DIR = /**absolute**/path/of/gauge-project/.venv/lib/python3.x/site-packages/playtest2

On activating the virtual environment for Gauge, run gauge command in your E2E test project:

(.venv) $ cd /path/to/e2e/project
(.venv) $ gauge run steps

Spec example

# サンプルアプリのテスト

## GETリクエストが送れる

* パス"/"に
* メソッド"GET"で
* リクエストを送る

* レスポンスのボディが
* JSONのパス"$.message"に対応する値が
* 文字列の"Hello World"である

License

playtest2 is distributed under the terms of the MIT license.

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

playtest2-0.0.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

playtest2-0.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file playtest2-0.0.1.tar.gz.

File metadata

  • Download URL: playtest2-0.0.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for playtest2-0.0.1.tar.gz
Algorithm Hash digest
SHA256 121948592901c8a112ccc345a281257b8a0d82d7855a9944a0e8e0fac216e9ed
MD5 1dd4f0991ebe47d200cfd982486b3fb8
BLAKE2b-256 b5a112290f89e669605c380bd32a636e990bdab63d16ff3f4a351003235b47f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for playtest2-0.0.1.tar.gz:

Publisher: publish.yaml on ftnext/playtest2-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file playtest2-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: playtest2-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for playtest2-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b5c4effacd6d103eb120ad65c6d4d2050d46bb1b481609efe0eb3072338110a6
MD5 7a008b8ad9adecc0b2e08c5e309565ae
BLAKE2b-256 3fa94b9b23bdcbdad90def116db5887e9de65fa50a5d370c2dcf3de95300f129

See more details on using hashes here.

Provenance

The following attestation bundles were made for playtest2-0.0.1-py3-none-any.whl:

Publisher: publish.yaml on ftnext/playtest2-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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