Test suites as AI training data: why test cases make code changes verifiable
Test suites can be licensed as AI training data when a software company owns them and holds the rights. Tests linked to the changes and bug fixes they verify give AI developers a pass-or-fail check on generated code. A fractional CTO can introduce qualifying companies to SourceX, which handles inventory, review and delivery.
Why do test suites make code verifiable for AI training?
A test case is an objective check: a change either passes it or it does not. Test suites linked to the code changes and bug fixes they verify let an AI developer ask whether a model-generated change actually works, instead of guessing from how the code reads. That pass-or-fail signal is scarce in public data and common inside software companies.
For a fractional chief technology officer (CTO), this is an everyday asset. You know which clients have a real test culture, which kept manual test cases in a management tool for years, and which are about to retire that tool.
This page covers what test data a software company holds, how to tell a strong suite from a weak one, and how to raise it before introducing the company to SourceX.
What counts as test data?
| Record | What it contains | What makes it useful |
|---|---|---|
| Automated test code | Unit, integration and end-to-end tests in the repository | Executable checks tied to behavior |
| Manual test cases | Steps, expected results and preconditions in a test tool | Human-written specifications of behavior |
| Test run history | Which tests ran against which build and the results | Pass-fail outcomes over time |
| Defect reports | Bug description, reproduction steps and fix reference | Failure cases linked to a resolution |
| Regression selections | Which tests were chosen for a release | Judgment about risk |
| Flaky test records | Tests that fail intermittently and the investigation | Noise handling and diagnosis |
| Traceability links | Requirement to test to change to defect | The chain that connects intent to evidence |
A suite whose tests reference tickets and commits is worth more than a pile of scripts. The linking is what lets a buyer connect a fix to the test that proves it. History also matters: see the page on why git history matters more than a snapshot for how the repository side fits.
Where does the data live?
Common locations include:
- The source repository, in test directories.
- A continuous integration system with build and test logs.
- A test management tool holding manual cases, plans and run results.
- An issue tracker with defects and links to tests and commits.
- Spreadsheets used by QA teams before a tool was adopted.
- Release notes and sign-off records.
Retention is the issue: CI systems often purge old logs, and test management tools may be retired. Ask how far back results go and who owns exports. The company's own vendor documentation states what export options exist; this page makes no claim about any particular tool.
The verifiability screen
Use these questions in a first conversation. They ask about structure, not contents.
- Linkage: do tests, defects and code changes reference each other by ticket or commit?
- History: are results kept for several years, or only the last few builds?
- Coverage: is there a meaningful number of tests in the areas that matter, not just a smoke suite?
- Outcome labels: are defects marked fixed, rejected or deferred, with reasons?
- Ownership: did employees write the tests under assignment terms, and are they free of client-owned code?
- Access: can someone export test cases and run history?
A company with 50+ full-time employees at peak (contractors excluded), several years of documented operations and an authorized sponsor, which passes most of these, is a candidate. Start with the company fit checker, a preliminary non-binding screen.
When should a fractional CTO raise it?
| Moment | Why it works | What to ask |
|---|---|---|
| Test tool renewal or retirement | The archive is about to lose its home | Will the case library be exported before the license ends? |
| CI platform change | Old build logs are often not migrated | Do results from past years move or vanish? |
| QA team restructuring | Knowledge is leaving with people | Where do the manual cases live, and who owns them? |
| Quality or compliance audit | Evidence of testing is collected | Which records prove what was tested over time? |
| Technical due diligence | Buyers or lenders review engineering practice | What does the test history say about release discipline? |
| Platform rewrite | Old tests describe old behavior | Is the legacy suite archived with its history? |
Record types in neighboring parts of the stack share this shape. Compare architecture decision records, which capture design reasoning where tests capture verification.
What rights and privacy points apply?
Tests can carry more than logic:
- Test fixtures sometimes contain real customer data copied from production; those need removal or redaction.
- Manual cases may quote customer names or contract details.
- Tests for client-owned software, written by an agency, may belong to the client.
- Third-party test libraries and open-source components carry their own terms.
- Credentials and tokens occasionally appear in test configuration.
Redaction and de-identification requirements are agreed with the company before any work begins. The PII redaction matrix lists typical treatments by record type. If the company mainly writes tests for clients' systems without consent, treat it as a red flag.
How the introduction works
- Register and pass your referral link to the founder or VP of engineering, or file basic fit details through the referral form.
- SourceX screens size, history, breadth of systems and rights.
- The company lists its repositories, CI, test tool and tracker with years of coverage; the data inventory builder can help organize that.
- Price and terms are agreed before any buyer sees the opportunity; nothing binds until the company signs.
- Buyers typically respond within about two weeks of the company being deal-ready.
- After signature, fixtures and credentials are cleaned under the agreed redaction rules and the data is delivered; the company is paid once.
- Your reward is released after SourceX receives its fee.
You never open a test file or run an export. For a related support-side record, see KCS article histories.
What to say to a software founder
How rewards work
Partners earn 25% of the eligible platform fees SourceX actually collects from the referred company's licensing deals, capped at $100,000 per referred company. The reward is paid only after the buyer pays and SourceX receives its fee; an introduction, meeting or signed agreement alone does not trigger payment, and no reward is guaranteed. The reward is a share of SourceX's fee and is never deducted from what the company receives. Check your client agreements and any disclosure rules before registering; read about the role at referral opportunities for fractional CTOs.
When it is not a fit
Pass when tests exist only as a few scripts without history, when the archive is wiped after each release, when the code and tests belong to clients, or when the company is below the size baseline. A client with deep CI logs but no linked tracker may still qualify through other systems; it simply scores lower on this screen.
Next step
Ask one software client how many years of test results could be exported tomorrow. If the answer is several, register as a partner and introduce them, or have the sponsor apply at sourcex.si/apply.
- Step 1Share your linkSend your personal link to a company you know.
- Step 2Company appliesThe company applies itself at /apply.
- Step 3Buyer selects and paysThe buyer selects and pays for the data and SourceX receives its fee.
- Step 4You get your rewardYour share of SourceX fees becomes payable.
Common questions
Are automated tests or manual test cases more valuable?
Both have value for different reasons. Automated tests are executable and give a pass-or-fail result. Manual cases are human-written specifications of expected behavior. The most useful sets are linked to defects and code changes, with several years of run history, regardless of whether they are automated.
What happens if test logs are purged after each release?
Then run history is thin, and the company may qualify mainly through other systems such as repositories, trackers and email. The inventory records what exists and how many years it covers. If purging is scheduled, an export taken now preserves the option.
Do test fixtures with customer data cause problems?
They can. Fixtures copied from production may contain real personal or confidential data, which needs removal or redaction. Requirements are agreed with the company before any work begins, and nothing is delivered without an executed agreement and the company's authorization.
Can an agency that writes software for clients qualify?
Only for material it owns. Tests written for client systems usually belong to the client, and licensing them without consent is a red flag. An agency with its own product and tests may qualify if it meets the baseline of 50+ full-time employees at peak, contractors excluded.
Does the fractional CTO need access to the test tool?
No. You introduce the company and pass on basic fit facts; opening test files or running exports is the company's job. It works with SourceX on inventory and terms, and any partner reward follows only after SourceX is paid.
Related pages
- Does git history matter? Why commit history is worth more than a code snapshot
- Check Company Fit for Data Licensing
- Architecture decision records (ADRs) as AI training data: what fractional CTOs should know
- PII redaction by record type: what personal data each business record holds
- Build a metadata-only business data inventory
- How do knowledge-centered service (KCS) article histories work as licensable data?
Free resources
- Earnout scenario calculator — Probability-weighted earnout value and its present value.
- Profit margin calculator — Profit and margin across three scenarios.
- Client opportunity brief generator — An editable intro email, summary and checklist.
- All free tools · MCP resource center
By SourceX Partnerships Team · Published 2026-10-09 · Updated 2026-10-09
Know a US company with valuable proprietary data?
Become a referral partner from anywhere we support, get your link and introduce an owner or authorized decision-maker.
Refer a company →I own a business
Explore licensing your company's data to AI developers worldwide. Start a short assessment; no uploads needed.
Start an assessment