|
1 | 1 | --- |
2 | 2 | title: Bulk Edit on Suite and Test Levels |
3 | | -description: Learn how to use the Bulk Edit feature in Testomat.io to manage test suites more efficiently. This guide explains file and folder patterns, how to bulk edit individual suites using YAML, and how to quickly create multiple tests with minimal input. |
| 3 | +description: Learn how to use the Bulk Edit feature in Testomat.io to manage test suites more efficiently. This guide explains file and folder patterns, how to bulk edit individual suites using YAML, and how to quickly create multiple tests with minimal input. |
4 | 4 | type: article |
5 | 5 | url: https://docs.testomat.io/advanced/bulk-edit-folder-suites-and-tests |
6 | 6 | head: |
7 | 7 | - tag: meta |
8 | 8 | attrs: |
9 | 9 | name: og:image |
10 | 10 | content: https://docs.testomat.io/_astro/169832839-f67f3cad-73b7-43ff-ba00-b4ecd4296c2f.D7I3Huc-_Z21Q63i.webp |
11 | | - |
| 11 | + |
12 | 12 | - tag: meta |
13 | 13 | attrs: |
14 | 14 | name: keywords |
15 | 15 | content: bulk edit, test management, Testomat.io, YAML, test suite, reorder tests, create tests, delete tests, bulk test creation, file patterns, test restructuring, automation |
16 | 16 | --- |
| 17 | + |
17 | 18 | ## File and Folder Patterns |
18 | 19 |
|
19 | | -In order to reflect the BDD paradigm in the best way and to support the consistency of the project structure, Testomat.io provides a Folder and File pattern. |
| 20 | +In order to reflect the BDD paradigm in the best way and to support the consistency of the project structure, Testomat.io provides a Folder and File pattern. |
20 | 21 | A suite with tests is considered to be a **file** (like a file with tests in your filesystem). |
21 | 22 | A suite that contains other suites is a **folder** (like in a filesystem). |
22 | 23 | So the main rule here is **suite can contain only tests or suites but not both**. |
23 | 24 |
|
24 | 25 | ## How to Use Bulk Edit on Suite Level |
25 | 26 |
|
26 | | -Your project may contain a huge amount of tests and suites. It's more efficient to edit tests at the suite level. See how it works: |
| 27 | +Bulk Edit allows you to update an entire suite as a single Markdown document. |
| 28 | + |
| 29 | +Instead of opening tests one by one, you modify all tests directly inside the suite file. This speeds up large-scale updates and keeps test documentation consistent, especially for large regression suites or when multiple tests require the same change. |
| 30 | + |
| 31 | +### Why Use Bulk Edit |
| 32 | + |
| 33 | +In real QA workflows, updates rarely affect only one test. Bulk Edit is ideal for: |
| 34 | + |
| 35 | +- Updating or adding examples across multiple **parametrized tests** |
| 36 | +- Aligning labels, priorities, or tags across a feature area |
| 37 | +- Updating wording after UI changes |
| 38 | +- Refactoring test descriptions |
| 39 | +- Quickly drafting multiple new tests with the same description |
| 40 | +- Applying global text updates with **Change All Occurrences** |
| 41 | + |
| 42 | +By working at the suite level, all changes are applied automatically when the suite is saved, avoiding manual synchronization of individual tests. The editor works with the [Classical Tests Markdown Format](https://docs.testomat.io/project/import-export/export-tests/classical-tests-markdown-format/), where suites and tests are structured as blocks in a single Markdown document. |
| 43 | + |
| 44 | +::: note |
| 45 | + |
| 46 | +Deletions made in Bulk Edit are **not applied when saving** to prevent accidental removals. If you need to delete items, use the regular **multi-select** workflow instead. |
| 47 | + |
| 48 | +::: |
| 49 | + |
| 50 | +### Step-by-Step Guide |
| 51 | + |
| 52 | +1. Navigate to the **Tests** page |
| 53 | +2. Open the suite you want to edit |
| 54 | +3. Click the **'...'** extra menu |
| 55 | +4. Select the **'Bulk edit'** |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | +5. The Markdown editor opens, displaying the full suite file |
| 60 | + |
| 61 | +From here, you can modify or create: |
| 62 | + |
| 63 | +- Suite metadata (emoji, overall tags, labels, assignees, etc.) |
| 64 | +- Test metadata (including tags, labels, priorities, assignees, etc.) |
| 65 | +- Test descriptions (steps, expected results, etc.) |
| 66 | +- Examples (parametrized tests) |
| 67 | +- Add a new test - either by clicking **Add Test** (which automatically inserts `<!-- test -->` and a new `##` block) or by writing it manually in the suite file |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | +All changes follow the [Classical Tests Markdown Format](https://docs.testomat.io/project/import-export/export-tests/classical-tests-markdown-format/), so you can learn more about the structure and formatting rules. |
| 72 | + |
| 73 | +### Practical Example: Parametrized Tests |
27 | 74 |
|
28 | | -1. Select the test suite you want to edit from the project view. |
| 75 | +**Scenario:** You need to update examples across multiple parametrized tests. |
29 | 76 |
|
30 | | -2. Click the three-dot menu (⋮) next to the suite name. |
| 77 | +**Without Bulk Edit:** Each test must be opened and updated individually. |
31 | 78 |
|
32 | | -3. Choose **Bulk Edit** from the dropdown menu. |
| 79 | +**With Bulk Edit:** |
33 | 80 |
|
34 | | -4. Modify the suite content in the YAML editor as needed. |
| 81 | +1. Open the suite in Bulk Edit |
| 82 | +2. Select the parameters (examples) you want to update — they will be highlighted in the editor for easy identification |
| 83 | +3. Use **Change All Occurrences** to apply updates globally |
| 84 | +4. Update the parameters (examples) |
| 85 | +5. Click **Save** |
35 | 86 |
|
36 | | -5. Click **Preview** to review the proposed changes. |
| 87 | +All tests instantly reflect the new or updated examples. |
37 | 88 |
|
38 | | -6. In the confirmation pop-up, click **Apply Changes** to save your updates. |
| 89 | + |
39 | 90 |
|
40 | | - |
| 91 | +Bulk Edit makes managing parametrized tests extremely efficient — whether adding new examples, correcting existing ones, or updating shared datasets. |
41 | 92 |
|
42 | | - |
| 93 | +### Best Practices |
43 | 94 |
|
44 | | - |
| 95 | +- Treat the suite file as a single source of truth for related tests |
| 96 | +- Make grouped, logical updates instead of many small edits |
| 97 | +- Review global replacements before saving |
| 98 | +- Keep formatting consistent to ensure correct parsing |
45 | 99 |
|
46 | | -[](https://youtu.be/Cp7XJynF7u4) |
| 100 | +Bulk Edit works best for structured updates affecting multiple tests, rather than small individual corrections. |
47 | 101 |
|
48 | 102 | ## Bulk Tests Creation |
49 | 103 |
|
|
0 commit comments