You should install a hosted copy of the Pangolin Test Orchestration
app on a server.
This should occur only once for the whole company.
The source code of the app is available at https://gitlab.com/basirjalali/Pangolin/tree/master/Pangolin/Pangolin.Orchestration.API
Let’s say it’s hosted as https://pangolin.geeksltd.co.uk
To run a whole batch of unit tests on the cloud independently use the following command line utility:
Pangolin.Publisher.exe "C:\Projects\MyProject\Tests\bin\Debug\Tests.dll" "dd2fb66b-634d-4843-a1cb-6c83b47e2ee2" "https://pangolin.geeksltd.co.uk"
The Pangolin Test Explorer
extension has been provided to run batch of unit tests more convenience.
First of all, install the Pangolin Test Explorer
extension via Visual Studio Extension tool.
Search for Pangolin
extension in Extension tool or download it from Pangolin Test Explorer and then install it.
After Installing, Pangolin Test Explorer appears in the Visual Studio menu under View
/Other Windows
/PangolinWindow
.
There is a Grid View to display the result of unit tests.
Pangolin.Publisher
has been copied to the path of PangolinPublisherPath
value in the App.config
file.New Batch Run
.Refresh
button.Started
column. Another window will be loaded to displays the details.Stop
column is provided to cancel running batch.Note:This needs to be set up once only per organisation, and it already is, at http://pangolin.geeksltd.co.uk.
The Pangolin Server application is responsible for batch running a whole bunch of pangolin tests. It doesn’t run the tests itself, but rather creates a set of cloud virtual machines to execute the tests.
If required, to set it up on a new server on AWS, follow these instructions step by step:
Pangolin.CloudManager
to the server under C:\Projects
.Pangolin.CloudManager
console application and set these App.config
keys:
Pangolin.Orchestration.API
to the server under C:\Projects
IIS_USRS
full control permission on that folder.ConnectionString
: {database connection string}PangolinCloudManagerPath
: C:\Projects\Pangolin.CloudManagerPangolinRunnerServers
: {number of server to be created}