Tests
Quick start
To get started with Tesmon, you only need to create two files:
1. tesmon.config.yml
This file defines the workspace and files to be included for the build. You can specify the target environment, platform, dependencies, and other settings that are necessary to build and run your tests.
2. tests.yml
This file contains your actual tests.
You can check out our Examples repository for more examples and templates to help you get started at - Examples
📄️ tesmon.config.yml
The Tesmon workspace settings are configured using a YAML configuration file named tesmon.config.yml in the repository. This file must contain at least the workspace settings, and all other settings are optional.
📄️ Create a Test
To create a valid Test, you need to provide the test ID and at least one task. By incorporating multiple tasks, you can construct more complex and intricate test scenarios.
📄️ Create a Collection
A Collection is a way to group tests, beforeAll, and afterAll IDs together, making it easier to run different combinations of these elements. To run a Collection, you simply use its ID. Collections are useful for organizing tests and other elements in a logical and meaningful way, and they can help to make it easier to manage and execute tests.
📄️ Parameterized Test
Parameterizing a test involves defining sets of data that can modify the behavior of the test based on the given parameters. This method is highly beneficial for conducting robust testing across different scenarios using the same test.