Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raiden-network/scenario-player
https://github.com/raiden-network/scenario-player
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/raiden-network/scenario-player
- Owner: raiden-network
- License: mit
- Created: 2019-04-25T08:47:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-08-18T08:40:48.000Z (over 2 years ago)
- Last Synced: 2024-07-31T20:27:06.644Z (7 months ago)
- Language: Python
- Size: 1.85 MB
- Stars: 1
- Watchers: 11
- Forks: 16
- Open Issues: 39
-
Metadata Files:
- Readme: README.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
- awesome-raiden - Raiden Scenario Player - integration testing tool (Developer Resources / 🏗️ Tools)
- awesome-raiden-old - Raiden Scenario Player - integration testing tool (⚡ Developer Resources / Tools)
README
.. image:: https://codecov.io/gh/raiden-network/scenario-player/branch/master/graph/badge.svg
:alt: Code Coverage
:target: https://codecov.io/gh/raiden-network/scenario-player.. image:: https://circleci.com/gh/raiden-network/scenario-player.svg?style=shield
:alt: CI Status
:target: https://circleci.com/gh/raiden-network/scenario-player.. image:: https://img.shields.io/docker/cloud/build/raidennetwork/scenario-player
:alt: Docker Cloud
:target: https://cloud.docker.com/u/raidennetwork/repository/docker/raidennetwork/scenario-player/general.. image:: https://img.shields.io/github/tag-date/raiden-network/scenario-player?label=STABLE
:alt: Releases
:target: https://github.com/raiden-network/scenario-player/releases.. image:: https://img.shields.io/github/license/raiden-network/scenario-player
:alt: License
:target: https>//github.com/raiden-network/scenario-player.. image:: https://img.shields.io/github/issues-raw/raiden-network/scenario-player/bug?color=red&label=Open%20Bugs
:alt: Open Bugs
:target: https://github.com/raiden-network/scenario-player/issues?q=is%3Aissue+is%3Aopen+label%3Abug######################
Raiden Scenario Player
######################The Raiden Scenario Player is an integration testing tool written in Python 3. It allows testing of
various scenarios, and is an integral component of the Raiden test suite.Installation
============For Users
---------Using ``git`` & ``poetry``::
# Clone the scenario-player repository
~/ $ git clone http://github.com/raiden-network/scenario-player && cd scenario-player# Install the scenario-player.
~/ $ poetry install# Show available commands:
~/ $ poetry run scenario-player --help# Show help for subcommand, e.g.:
~/ $ poetry run scenario-player run --helpYou can also use `make`::
make install-dev
For Developers
--------------Note that ``poetry install`` installs the latest development version of ``raiden`` - if you'd like to run
the SP against a local checkout of Raiden::poetry run pip install -Ue ../path/to/raiden
Usage
=====Invoking the `scenario_player` from the cli can be done in one of the following
ways, depending on how you installed the tool.Invoke the command directly on the cli::
$ scenario_player run \
--keystore-file=/path/to/keystore.file --password=${KEYSTORE_PW} \
/path/to/scenario.yamlReclaiming spent test ether::
$ scenario_player reclaim --chain=goerli:http://geth.goerli.ethnodes.brainbot.com:8545 \
--keystore-file=/path/to/keystore.file --password=${KEYSTORE_PW}Scenario Examples
=================For example scenarios have a look at the ``Raiden`` repository's scenarios. These
can be found `here `_.Tools
=================
With the `Performance Analysis Tool `_
the logs of the scenario player can be analyzed and visualized.