Robot NPS User Guide¶
Contents:
Introduction¶
Robot Framework
Example¶
Comparison with Rammbock¶
Rammbock is the standard library for network protocol testing with Robot Framework.
Robot NPS has the following key differences:
- Robot NPS is aimed at allowing tests to be written by people familiar with the protocol and with Robot Framework, but not necessarily programmers or network experts.
- Protocols in Robot NPS are defined in Python code, by developers. Rammbock protocols are defined in the test cases or keywords using Robot syntax.
Installation¶
robot-nps has several dependencies. Firstly, it is known to run on Python 2.6 and 2.7, and known not to run on Python 3.x.
You can install it using pip:
$ pip install robot-nps
or using easy_install:
$ easy_install robot-nps
It’s usually a good idea to install robot-nps into a virtualenv, to avoid issues with incompatible versions and system packaging schemes.
Getting the code¶
You can also get the code from PyPI or GitHub. You can either clone the public repository:
$ git clone git://github.com/da4089/robot-nps.git
Download the tarball:
$ curl -OL https://github.com/da4089/robot-nps/tarball/master
Or, download the zipball:
$ curl -OL https://github.com/da4089/robot-nps/zipball/master
Once you have a copy of the source you can install it into your site-packages easily:
$ python setup.py install