Generating Test Containers

How to generate a Test Container

If you have already developed your installer you have to make it available to the TestResults.io portal. The portal expects a .testcontainer file created out of your test case. The container consists of:

  • Images associated with your installer project

  • Installers DLLs (the code you have written in Visual Studio)

To generate such a container simply :

  • Open the Visual Studio Solution Explorer

  • Right click on the Test Case Project

  • Select the TestResults.io context menu

  • Select the Generate installer test container option

A successful generation of the test container will be also indicated in the Visual Studio output section as follows:

Container was successfully created. C:\Projects\MyFirstTrioSolution\MyFirstSoftware_V1_0_Installer\bin\Debug\PortalUpload\MyFirstSoftware_V1_0_Installer_20190506_162758.testcontainer

Test Container file

The test container file name is always named according to the following schema

SWName_SWrevision_Installer_GenerationDate_GenerationTime.testcontainer

Therefore the following installer container MyFirstSoftware_V1_0_Installer_20190506_162758.testcontainer can be decoded as follows:

  • SW Name for which the installer is created: MyFirstSoftware

  • SW Version: 1.0

  • Generation Date: 2019-05-06

  • Generation Time: 16:27:58

The next chapter (Publishing Installers) explains how to make the testcontainer available in the Portal.

Last updated