mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-24 04:31:37 +03:00
add integration test in win contrib docs
This commit is contained in:
parent
99b811fa70
commit
e21bbea974
@ -76,6 +76,13 @@ cd c:\hurl\integration
|
||||
start /B server.py
|
||||
```
|
||||
|
||||
launch the ssl server
|
||||
|
||||
```cmd
|
||||
cd c:\hurl\integration
|
||||
start /B ssl/server.py
|
||||
```
|
||||
|
||||
launch hurl unit tests
|
||||
|
||||
```cmd
|
||||
@ -85,8 +92,9 @@ cargo test
|
||||
|
||||
launch hurl integration tests
|
||||
|
||||
```
|
||||
coming soon ... ;)
|
||||
```cmd
|
||||
cd c:\hurl\integration
|
||||
./integration.py
|
||||
```
|
||||
|
||||
## Generate version.txt file
|
||||
|
@ -58,6 +58,10 @@ New-Item -ItemType "Directory" -Path "c:\hurl\target" -Name "win-package"
|
||||
Get-ChildItem -Path "c:\hurl\target\release" -Recurse -Include *.dll -File | Copy-Item -Destination "c:\hurl\target\win-package"
|
||||
Get-ChildItem -Path "c:\hurl\target\release" -Recurse -Include hurl*.exe -File | Copy-Item -Destination "c:\hurl\target\win-package"
|
||||
((c:\hurl\target\win-package\hurl.exe --version) -Split " ")[1] > c:\hurl\target\win-package\version.txt
|
||||
$oldpath = Get-ItemProperty -Path HKCU:\Environment -Name Path
|
||||
$newpath = $oldpath.Path += ";c:\hurl\target\win-package"
|
||||
Set-ItemProperty -Path HKCU:\Environment -Name Path -Value $newpath
|
||||
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
|
||||
```
|
||||
|
||||
## Test your app
|
||||
|
Loading…
Reference in New Issue
Block a user