-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtests.ps1
16 lines (9 loc) · 937 Bytes
/
tests.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$credential = New-Object pscredential 'admin', (ConvertTo-SecureString -String 'P@ssword1' -AsPlainText -Force)
Get-TestsFromNavContainer -containerName fkdev -credential $credential -testSuite "BUILTIN"
Run-TestsInNavContainer -containerName fkdev -credential $credential
Run-TestsInNavContainer -containerName fkdev -credential $credential -testSuite "HELLOWORLD"
Run-TestsInNavContainer -containerName fkdev -credential $credential -testSuite "DEFAULT" -testFunction "WorkingTest"
Run-TestsInNavContainer -containerName fkdev -credential $credential -testSuite "DEFAULT" -testGroup "kurt" -detailed
Run-TestsInNavContainer -containerName fkdev -credential $credential -testSuite "BUILTIN" -detailed
Run-TestsInNavContainer -containerName fkdev -credential $credential -testSuite "DEFAULT" -detailed -XUnitResultFileName "c:\programdata\navcontainerhelper\result.xml"
& notepad "c:\programdata\navcontainerhelper\result.xml"