This repository was archived by the owner on May 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change
1
+ Setting up your development environment
2
+ ========================================
1
3
1. Install the dependencies via pip with the script below.
2
4
``` Shell
3
5
python scripts/dev_setup.py
4
-
6
+ ```
5
7
2 . Add ` <clone root>\src ` to your PYTHONPATH environment variable:
6
-
7
- # ####Windows
8
+
9
+ ##### Windows
8
10
``` BatchFile
9
11
set PYTHONPATH=<clone root>\src;%PYTHONPATH%
10
12
```
11
- # ####OSX/Ubuntu (bash)
13
+
14
+ ##### OSX/Ubuntu (bash)
12
15
``` Shell
13
16
export PYTHONPATH=< clone root> /src:${PYTHONPATH}
14
-
15
- # #Running Tests:
16
- # ###Command line
17
- # ####Windows:
17
+ ```
18
+ ## Running Tests:
19
+ #### Command line
18
20
Provided your PYTHONPATH was set correctly, you can run the tests from your ` <root clone> ` directory.
19
21
20
22
To test the common modules of the CLI:
27
29
python -m unittest discover -s src/mssqlscripter/mssql/scripter/tests
28
30
```
29
31
30
- Additionally, you can run tests for all CLI tools and common modules using the ` Run_All_Tests .bat` script.
32
+ Additionally, you can run tests for all CLI tools and common modules using the ` run_all_tests .bat` or ` sh run_all_tests ` script.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments