Including Python test suite for proxy

master
Jacob Windle 2019-01-26 07:54:31 -05:00
parent b0fba821cf
commit b89cb298d3
4 changed files with 9 additions and 0 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
node_modules/
test/proxy_test/

View File

@ -24,6 +24,12 @@ So in reality, it will be a tool to help monitor your internet usage and block y
To test, can either spin up the vagrant instance, or utilize the unit tests.
# Testing Locally
The directory `./test` includes Python based tests intended to stress the proxy.
To run them, install the requirements with Pip, then run
`python3 test_proxy.py`
# TODO
1. Setup a server that listens on a port

2
test/requirements.txt Normal file
View File

@ -0,0 +1,2 @@
requests
pytest

0
test/test_proxy.py Normal file
View File