This project implements the Robot Framework keywords to interact with MockServer through HTTP.
$ pip install robotframework-mockserver
Add library to settings section:
*** Settings ***
Library MockServerLibrary
Keyword documentation for the latest release
See tests/robot/tests/mock_server.robot for detailed usage examples.
Prerequisites:
- docker-compose (to run integration tests)
- flake8 (for static code analysis)
- twine (release)
- robot-framework (for doc generation)
Install prerequisites (execute inside a python3 virtual environment):
$ make setup
Print help:
$ make help
Start mock server and run tests:
$ make tester/test
Run lint:
$ make lint
Release process:
- Increment version number in src/MockServerLibrary/version.py and commit the change
- Tag the commit with the new version by issuing
make version/tag - Push the commit and tag to Github (use
git pushwith the--follow-tagsoption) - Publish the release to PyPI with
make release - Clone the documentation repository to ../etsi-cti-admin.github.io
- Generate the documentation with
make docs - Publish then the resulting commit in ../etsi-cti-admin.github.io to Github