You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before running the tests, please make sure you have a generic repository named *tests* in Artifactory.
20
+
* Before running the tests, please make sure you have a generic repository named *tests* in Artifactory.
21
+
22
+
### Building
23
+
When running the following commands to build the code, the entire testing suite is also executed. See the *Testing* section for configuration instructions prior to running the tests.
21
24
22
25
To build the code using the gradle wrapper in Unix run:
23
26
```
@@ -36,23 +39,72 @@ To build the code without running the tests, add to the "clean build" command th
36
39
> ./gradlew clean build -x test
37
40
```
38
41
39
-
### Running pip tests
40
-
Pip tests must run inside a clean pip-environment. Create a virtual environment and provide the path to its '/bin' directory using the 'BITESTS_ARTIFACTORY_PIP_ENV' variable.
* Add npm executable to the system search path (PATH environment variable).
65
+
```
66
+
> ./gradlew clean build-info-extractor-npm:test
67
+
```
68
+
69
+
#### Go tests
70
+
* Add Go executable to the system search path (PATH environment variable).
71
+
```
72
+
> ./gradlew clean build-info-extractor-go:test
73
+
```
74
+
75
+
#### Pip tests
76
+
* Add Python and pip executables to the system search path (PATH environment variable).
77
+
* Pip tests must run inside a clean pip-environment. Create a virtual environment and provide its path using the 'BITESTS_ARTIFACTORY_PIP_ENV' variable.
78
+
When running on a Windows machine, provide the path to the 'Scripts' directory.
79
+
When running on a unix machine, provide the path to the 'bin' directory.
0 commit comments