Including Python test suite for proxy
This commit is contained in:
parent
b0fba821cf
commit
b89cb298d3
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
|
test/proxy_test/
|
@ -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.
|
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
|
# TODO
|
||||||
|
|
||||||
1. Setup a server that listens on a port
|
1. Setup a server that listens on a port
|
||||||
|
2
test/requirements.txt
Normal file
2
test/requirements.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
requests
|
||||||
|
pytest
|
0
test/test_proxy.py
Normal file
0
test/test_proxy.py
Normal file
Loading…
Reference in New Issue
Block a user