Skip to content

Test AutomationCode MapTest Data tab

Test Data tab

The Test Data tab of the Code Map screen (/code-map?view=data) maps your test data the way the Methods and Steps tab maps your test code.

The Test Data tab inventories every data file backing your tests and links it to the tests that consume it. Use it to:

  • See which tests depend on a data file before you edit or delete it. Each file lists the tests that read it, and each test name opens in the Test Explorer in a new tab.
  • Preview file contents without leaving Testver — sheets, columns, and rows are rendered inline.
  • Spot sensitive values. Keys that look like credentials are flagged so you can check nothing secret is committed in a fixture. Their values are hidden on the server before the page receives them, and the content search never matches on them. Testers and admins can reveal a value (every reveal is recorded in the Audit Log). Viewers can’t reveal values.
  • Correct the inventory. If Testver missed a data file, include it; if it picked up something that isn’t test data, ignore it. Both are overrides you can undo. They change the map for everyone, so they need the tester role or above.

Where the Methods and Steps tab finds dead code, the Test Data tab finds orphaned and over-shared data — a spreadsheet nothing reads any more, or one that forty tests all depend on.

Test Data tab: stats chips, the search box and kind filters, the data-source table and the Duplicate data list

The header reads “Test data sources, test usage & duplicates”, followed by how many files were scanned and how long the scan took. On the right:

ButtonWhat it does
Add fileOpens Add test data file: data-like files the scan didn’t capture (each with add), or a box to add a file by its path relative to the project. Testers and admins only.
Ignored (N)Appears once you have ignored files. Lists them, each with restore.
RescanScans the project again.
Add test data file dialog: uncaptured candidate files and an Add by path box

A row of chips sums up the map: data sources, tests mapped, duplicates, dynamic / random, orphan files, used indirectly, and hardcoded secrets.

Test Data header with Add file and Rescan, the stats chips (data sources, tests mapped, duplicates, dynamic / random, orphan files, used indirectly, hardcoded secrets) and the All, file, fixture, inline, dynamic, hardcoded, orphans, indirect and secrets filters

The search box (Search name, path, or data contents (keys & values)…) matches a source’s name, path, or the keys and values inside it. Next to it, one row of chips narrows the table — pick one at a time, and click the active chip again to go back to All:

ChipShows
AllEvery data source.
file, fixture, inline, dynamic, hardcodedSources of that kind: data files, fixtures, data defined inline in test code, dynamic / random data generators, and hardcoded literal values.
orphansData files no test reads.
indirectSources used only through a helper or other non-test file.
secretsSources flagged as holding personal or secret values.

Each row shows the Source (a file’s readable name over its path, or the value itself), its Kind, Rows (row count and format, for files), Used by (how many tests read it), and Flags — added (you included it), orphan, indirect, random, and PII/secret. Hovering a file row shows an icon to ignore it (or to remove a file you added).

Click a row to open it. The page shows a Test Data back button, Open file (top right), the kind and flags, the file and line (opens the Project Explorer in a new tab), the data itself, and the tests that use it. For a hardcoded value, Externalize with AI opens the AI Assistant with a prompt to move it into a managed dataset or environment variable; for dynamic data, Analyze with AI asks how it affects determinism.

A data source opened: hardcoded and PII / secret flags, its file and line, the value, the Used by 6 tests list and Externalize with AI

Below the table, Duplicate data (N) lists values that appear in more than one place (the first 30 clusters). Each shows the value, its type (for example literal), how many times it occurs (×N), and consolidate, which opens the AI Assistant with a prompt to plan merging the copies into one shared dataset or constant.