Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Property Based Testing for the ROS node level.

Project description

hypothesis-ros

Build Status PyPI version Read the Docs GitHub license

Hypothesis strategies for ROS node level property based testing.

Installation

❯ pip install git+https://github.com/ros-testing/hypothesis-ros

Usage

❯ pip install ipython
❯ ipython
In [1]: from hypothesis_ros.message_fields import int16
In [2]: int16().example()
Out[2]:-32183
In [3]: int16(min_value=5, max_value=5).example()
Out[3]: 5

Examples

❯ pip install jupyter
❯ cd docs/source/notebooks/
❯ jupyter lab

Documentation

Sphinx documentation (user's guide, API reference)

Build the documentation.

❯ tox -e docs

Open the documentation.

❯ xdg-open ./docs/build/index.html

Interactive documentation (API reference)

❯ ipython
In [1]: from hypothesis_ros import message_fields
In [2]: message_fields?
(module documentation)
In [3]: message_fields.<TAB-replacement>?
(documentation of strategies, etc.)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hypothesis-ros, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size hypothesis_ros-0.3.0-py2.py3-none-any.whl (19.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size hypothesis-ros-0.3.0.tar.gz (13.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page