Visual Studio Extension - Operations
The extension comes with an integrated visual interface. Through the operations tab view, you are able to
- Install Test Maker
- Initialize your project
- Setup run scripts
- Generate code with OpenAI
- Record a new Feature
- Record in the current active file
- Clear workspace state
Installation
Test Maker installation can be done through the interface. To proceed with the installation, you need to have either
- Test Maker as a compressed file
- Test Maker extension as a
.vsix
file with Test Maker bundled.
Project initialization
You can generate a Test Maker project skeleton adapted either for a generic project or for a PEGA based project.
Setup Run scripts
In Test Maker, you have the flexibility to choose the running profile or options for executing your tests. This allows you to customize the behavior and configurations specific to your testing needs. By selecting a running profile, your tests will be executed with the corresponding options associated with that profile.
To illustrate this, let's consider an example where you have a running profile named test:local. In the context of Test Maker, clicking on this profile is equivalent to running the following command in a terminal:
npm run test:local
By choosing the appropriate running profile, you can conveniently execute your tests with the desired options directly within Test Maker, without the need to run the command manually.
Clear workspace state
Test Maker offers the flexibility to clear specific workspace elements to help you manage your testing environment effectively. Here are the options available:
Run Scripts: This option allows you to remove a selected run profile, such as test:local, from the "Run Script" tab. By clearing the run profile, you can then choose and configure your desired run profiles again.
Test Run Explorer: With this option, you can clear the reports and details of your latest test execution from the "Test Run Explorer" tab. This helps in keeping your workspace clean and organized by removing previous test execution data.
Actions: Test Maker keeps track of your 10 most recently used actions and displays them in the "Recently Used" tab. If you want to clear this tab and remove the history of recently used actions, you can select this option.
All: Selecting this option allows you to perform all three actions mentioned above. It clears the run profiles from the "Run Scripts" tab, clears the reports and details from the "Test Run Explorer" tab, and also clears the history of recently used actions from the "Actions" tab. This comprehensive option provides a complete workspace cleanup.
By utilizing these clear workspace options, you can maintain a streamlined and organized testing environment within Test Maker.