Test Suite definition
The Test Suite tab lists test suites. A Test Suite is a collection of test case files grouped for execution. In the Test Suites tab, you can upload and download a test suite, view a test file's content, and edit, create, or delete test files and folders.
Upload a Test Suite
You can upload your collection of test case files as a ZIP file from your computer to Testing Studio.
If you are using macOS, compress the Test Suite folder into a ZIP file using the Terminal before uploading to Testing Studio+, as other methods of compression may result in file rejection.
To compress via Terminal, enter the following command:
zip -r {output_file} {folder}
To upload a Test Suite, follow the steps below:
-
In the Test Suites tab, click the Options menu next to the Root Directory and select Upload.
-
Drag and drop the ZIP file onto the drop zone, or click Browse Files and select your file.
-
Click Upload to confirm. When the upload starts, you will see this pop-up notification.
-
As soon as the upload is over, you will see this message in the right upper corner.
-
The uploaded Test Suite will appear in the list.
View a test file content
You can view the content of a test file directly within the Test Suites tab: simply select the file you want to view and click on it to display the content.
Edit a test file
You can edit a test file directly in Testing Studio. To do so, follow the instructions below:
-
In the Test Suites tab, select the file you want to edit and click it to open.
-
Click Edit file to start editing. Note that only one user can edit a file at a time.
-
Click Save Changes to apply your edits, or Cancel → Discard to discard them.
One user can edit the file at a time; if additional users want to edit at the same time, the Edit file button will be disabled for them.
Create a test file
To create a new test file, proceed as described below:
-
In the Test Suites tab, click the Options menu next to the folder where you want to create the file, then click Create File.
-
A new empty unnamed.json file will be added to the selected folder.
-
You can enter a new file name at this step or Rename your test file later.
Test files should be in either JSON or YAML format.
A file name may only include the following characters: a-z, A-Z, 0-9, underscores, and non-continuous dots.
-
Click the created test file to open it. You can now edit this file as described in the Edit a test file section.
Create a folder
To create a new folder, proceed as described below:
-
In the Test Suites tab, click the Options menu next to the folder that will contain it, then click Create Folder.
-
A new empty unnamed folder will appear.
-
You can enter a new folder name at this step or Rename your folder later.
A folder name may only include the following characters: a-z, A-Z, 0-9, underscores, and non-continuous dots.
Download a test file
To download a test file, follow the guidelines below:
-
Locate the test file you want to download.
-
Click the Options menu and select Download.
-
The selected file will be downloaded.
Rename a test file/folder
To rename a test file or a folder, follow the guidelines below:
-
Locate the test file or folder you want to rename.
-
Click the Options icon and select Rename.
-
Enter a new file or folder name and press <Enter>. The file/folder name will change accordingly.
A file or folder name may only include the following characters: a-z, A-Z, 0-9, underscores, and non-continuous dots.
Delete a test file/folder
To delete a test file or a folder, click the Options menu and select Delete.
Deleted files and folders are permanently removed. Ensure you have selected the correct item before deletion.
Download a Test Suite
You can download your collection of test case files from Testing Studio to your computer.
To download a Test Suite, follow the steps below:
-
In the Test Suites tab, click the Options menu next to the Root Directory and select Download.
-
The Test Suite will be downloaded as a ZIP file to your computer.
Create a test file from Ochrestrator
You can create test files directly from the chat session in Orchestrator, and they will automatically be added to the AutoGen_TestSuite folder in Testing Studio.
This feature is only available for Cloud-type projects!
To create a test case in Orchestrator, follow the guidelines outlined below:
-
Navigate to Orchestrator and select a dialog application you want to test.
-
Open the Orchestrator Chat and click the three icon menu button and then select Create Test Case:
-
In the dialog box that opens, fill in the fields as described below:
-
Name Test Case: Enter a unique name for the test case you are creating.
-
If a test case name already exists, it cannot be reused.
-
The name is restricted to the following characters: a-z, A-Z, 0-9 and underscores.
-
Select Project: Choose a Testing Studio project where you would like to add the test case.
-
Select Test Suite: Select a test suite folder to add the test cases. If none is selected, the generated test cases will be added automatically to the AutoGen_TestSuite folder in Testing Studio.
-
Include Simulation Data: If marked, simulation data will be added.
-
Click Create Test Case. The generation will start and the test case will automatically be added to the AutoGen_TestSuite folder in Testing Studio.
Now, you can view the content of the created test file, edit, create, and delete test files as necessary.
Create a test file from Monitor
You can create test files directly from Monitor, and they will automatically be added to the AutoGen_TestSuite folder in Testing Studio.
This feature is only available for Cloud-type projects!
To create a test case in Monitor, follow the guidelines outlined below:
-
Navigate to Insights → Monitor and select a dialog you want to test.
-
In the Dialog Review section, click the Options menu and select Create Test Case.
-
In the dialog box that opens, fill in the fields as described below:
-
Name Test Case: Enter a unique name for the test case you are creating.
-
If a test case name already exists, it cannot be reused.
-
The name is restricted to the following characters: a-z, A-Z, 0-9 and underscores.
-
Select Project: Choose a Testing Studio project where you would like to add the test case.
-
Select Test Suite: Select a test suite folder to add the test cases. If none is selected, the generated test cases will be added automatically to the AutoGen_TestSuite folder in Testing Studio.
-
Include Simulation Data: If marked, simulation data will be added.
-
Confirm by clicking Create Test Case.
Now, you can view the content of the created test file, edit, create, and delete test files as necessary.