Customization
Customize the testing agent to your repos
Overview
Tusk allows you to provide custom instructions to the testing agent to meet your testing guidelines on a per repo basis.
This is useful if you want Tusk to be aware of your best practices when deciding which types of symbols to test, what dependencies to import, how to name your test files, etc.
Before you go on, follow this 2-min onboarding guide to connect your GitHub and sync a repo.
How to Customize
-
After the Tusk team has completed the set-up of your testing agent, you will see a Customization tab in Settings.
-
Click on the Customization tab.
-
Select the repo for which you want to create custom instructions for on the Repo field in the top right corner.
-
On “Custom Instructions”, add a name for the config that you are creating under the Description field. Click Save.
-
You will see a list of fields that you can customize below.
- Symbol selection guidelines: Types of symbols (i.e., functions, methods) that should or should NOT be tested.
- Test code guidelines: Best practices for writing tests, creating mocks, using factories, importing dependencies, etc.
- Edge case guidelines: Notes on the types of edge cases to focus on finding
- Test location guidelines: Naming conventions for test files and where they should be placed in the repo
-
Click on the Save button after editing the fields.
-
Tusk will now use these custom instructions to generate tests for the repo.
Coming Up
- Ability to view test execution environment
- Self-serve set up for new test execution environments
Was this page helpful?