Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 898 Bytes

HACKING.md

File metadata and controls

51 lines (34 loc) · 898 Bytes

Developer's Guide

Welcome to the developer's guide for the Python wpa_supplicant library.

Setup Development Environment

Use virtualenv to create a Python environment.

$ virtualenv -p /usr/bin/python2 env2

Activate one of the environments.

$ source env2/bin/activate

Then, install the development dependencies.

(env2) $ pip install -r dev-requirements.txt

Running tests

This project uses nose for finding and executing tests and coverage for generating HTML based coverage reports.

Running the tests can be as easy as:

$ nosetests

However, running the tests is highly configurable and for this project it is easiest to run a script which makes use of config files under etc/.

$ ./run_tests.sh

Check out the coverage reports:

$ firefox cover/index.html