@@ -11,13 +11,41 @@ and adapted.
1111
1212### Test dependencies
1313
14+ ** Windows** Checklist before running the functional tests:
15+ * Install [ ` Git ` ] ( https://git-scm.com/download/win )
16+ * Install [ ` VS Code ` ] ( https://code.visualstudio.com/Download )
17+ * Install [ ` Python ` ] ( https://www.python.org/downloads/ )
18+ * Install [ ` Microsoft C++ Build tools ` ] ( https://visualstudio.microsoft.com/visual-cpp-build-tools/ )
19+ * Install [ ` Rust ` ] ( https://www.rust-lang.org/tools/install )
20+ * Install [ ` Bitcoin Core ` ] ( https://bitcoin.org/en/download )
21+
22+ * Please don't forget to add "C:\Program Files\Bitcoin\daemon\" in the path of the environment variables.*
23+
1424Functional tests dependencies can be installed like for any Python project.
1525```
26+ (Unix)
1627# Create a new virtual environment, preferably.
1728python3 -m venv venv
1829. venv/bin/activate
1930# Get the deps
2031pip install -r tests/requirements.txt
32+ cargo build
33+ ```
34+
35+ ```
36+ (Windows)
37+ # Please ensure the execution policy for the current session is set to Remote Signed by entering the below command in Powershell.
38+ Get-ExecutionPolicy
39+ #If it is not set then enter:
40+ Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
41+
42+ # Create a new virtual environment, preferably.
43+ pip install virtualenv
44+ virtualenv venv
45+ .\venv\Scripts\activate
46+ # Get the deps
47+ pip install -r tests/requirements.txt
48+ cargo build
2149```
2250
2351### Test modes
@@ -48,6 +76,8 @@ servers:
4876```
4977# Adapt `-n`, `-v`, `timeout` and other environment variables to your needs
5078pytest tests/ -vvv -n4 --ignore tests/servers/
79+ # To run a specific test:
80+ pytest -vvv -k test_name
5181```
5282
5383#### With the servers
0 commit comments