top of page

GitHub Test Migration Checklist: Inventory Before Import

Writer: Ashwin Kondapalli
Ashwin Kondapalli
Oct 14
7 min read

Author: Ashwin Kondapalli, Founder & CTO, LoopIQ Updated: October 14, 2026

The platform team wants every automated test in one governed place before the next release train. The tests live in a dozen GitHub repositories: a Playwright monorepo, two Selenium projects nobody has touched since the last reorg, a pytest-bdd suite owned by the payments team, and helper scripts that half the suites quietly import. Someone proposes connecting the repos and importing everything on Friday. The QA lead asks the question that should come first: do we actually know what we have, who owns it, and which of it should count as release evidence?

A GitHub test migration inventory is the list you build before importing anything: every candidate test, its repository and path, framework and language, owner, the shared code and data it depends on, the requirements it covers, and a decision to migrate, retire, or leave in CI. The inventory turns "move the tests" into a reviewed scope. Importing without one tends to carry over dead tests, broken dependencies, and orphaned locators, and it loses the link between a test and the requirement it was written for.

Why inventory before you import?

Because an import is easy to start and hard to clean up. Once tests are in a new system, people start citing them in readiness reviews.

Skipping the inventory usually causes four problems:

  • Dead tests become evidence. Specs that are skipped, quarantined, or failing for months arrive looking like active coverage.

  • Hidden dependencies break. Fixtures, helpers, page objects, and test data that live outside the test folder do not come along, so the first run fails for reasons unrelated to the product.

  • Ownership disappears. The repo had a CODEOWNERS file and a Slack channel. The imported test has neither unless you record an owner.

  • Traceability is lost. A test that was written for a specific story or change request becomes a free-floating script. At go/no-go nobody can say which requirement it proves.

Rule of thumb: If you cannot name a test's owner and the requirement it covers, it is not ready to migrate. Either find them or mark it for review.

What should the inventory include for each test?

Keep one row per test file or suite, not per assertion. The goal is a decision record, not a code review.

Minimum inventory fields:

  1. Repository and path: the GitHub repository, branch, and file or folder.

  2. Framework and language: for example Playwright with TypeScript, Selenium with Java, or pytest-bdd with Gherkin.

  3. Owner: a named person or team who will review the migrated asset.

  4. Status in its current home: active, skipped, quarantined, or failing, with the date of the last meaningful run.

  5. Dependencies: shared helpers, fixtures, page objects or locator files, environment variables, and test data files it needs.

  6. Requirement links: the stories, tasks, change requests, or incidents the test covers, if any.

  7. Data sensitivity: whether it uses secrets, tokens, or personal data that must not travel with it.

  8. Decision: migrate, retire, or keep in CI only, plus a one-line reason.

That last field matters most. "Keep in CI only" is a legitimate answer. Not every lint check, unit test, or build smoke belongs in release evidence.

Which tests should you migrate first?

Start where migration adds governance, not where it is easiest.

  • Migrate first: browser, API, and BDD tests that cover requirements reviewers already ask about at go/no-go, such as payment flows, permissions, data exports, or regulated workflows.

  • Migrate next: suites with clear owners and stable dependencies that support those flows.

  • Review before migrating: tests with no owner, no requirement link, or no passing run in months. Some are valuable and neglected. Many are dead.

  • Leave in CI: fast checks that gate merges but do not need to be reviewed, approved, or cited as release evidence.

  • Retire: duplicates, tests for removed features, and experiments that never stabilized. Record the retirement so the gap is a decision, not an accident.

How do you find the dependencies that break migrations?

Most failed migrations are dependency problems, not test problems. Look beyond the test folder.

  • Shared helpers and fixtures: imports from utils, support, or fixtures directories, including ones in other repositories or packages.

  • Locators and page objects: selectors defined in page-object classes, constants files, or copied inline into specs. Inline copies are where orphan locators come from.

  • Test data: CSV, JSON, or YAML files, seeded database state, and hard-coded IDs that only exist in one environment.

  • Configuration: base URLs, browser settings, retries, timeouts, and environment variables set in workflow files rather than in the test project.

  • Secrets: tokens and credentials pulled from GitHub repository or organization secrets. These should be replaced with governed credentials in the destination, never copied into test code or data.

Write each dependency into the inventory row. If a dependency is shared by many tests, record it once and reference it, so it gets reviewed once.

What does "ready to import" look like?

A test is ready when the inventory answers every question a reviewer will ask after it lands.

  • The framework and language are ones the destination supports.

  • An owner has agreed to review the migrated asset.

  • Its dependencies are listed, and shared ones are migrated or mapped first.

  • Secrets and sensitive data are identified and removed from code and data files.

  • Requirement links are recorded, or the missing link is flagged for the owner.

  • The decision and reason are written down.

Migration readiness is not release readiness. An imported test still has to be reviewed, approved, and run against the right build before its results count as evidence, and passing results still do not authorize a release. People make that call at go/no-go.

How this works in LoopIQ

Prerequisites: The LoopIQ GitHub App installed with only the repositories you intend to migrate selected, Test Automation permissions, the correct team context, and applications or modules set up for the tests to land in (test automation).

What LoopIQ supports: LoopIQ Test Automation can migrate existing tests from connected GitHub repositories. Per LoopIQ's current product notes, GitHub migration includes dependency discovery, rescan identity, mapping review, and audit history. Supported frameworks include Playwright with TypeScript, Vibium, WebDriver BiDi through WebdriverIO, Selenium with Python or Java, Karate, pytest-bdd, and Behave.

Sequence (conceptual):

  1. Build the inventory first, using the fields above, and agree on scope with test owners.

  2. Install the GitHub App for the in-scope repositories only. Repository access stays limited to what you select.

  3. Run migration discovery on the in-scope repositories and compare what LoopIQ finds, including dependencies, against your inventory. Differences are findings to resolve, not noise.

  4. Review the proposed mappings to applications, modules, and requirements before accepting them. Fix missing owners and requirement links here.

  5. Approve migrated automation assets individually. Only approved assets can be added to executable suites or submitted to governed execution.

  6. When a repository changes, rescan rather than re-import, so migrated tests keep a stable identity and their history.

  7. Link approved suites and their runs into the Release Compliance Dossier testing section. Unmapped, unowned, or unapproved tests stay open items until someone resolves or excepts them.

Approvals and outputs: Migration produces reviewable assets and an audit trail. Tests produce evidence. People decide. Release certification is an internal readiness record, not regulatory certification. Pricing is $4.99 per user per month.

Inventory excerpt (illustrative demo data)

Label: Illustrative demo data. Not a customer result.

  • web-e2e/tests/checkout/: Playwright + TypeScript · owner Checkout QA · active, passing · depends on support/pages/cart.ts and fixtures/cards.json · covers STORY-3108, CR-221 · Migrate (wave 1)

  • web-e2e/tests/legacy-admin/: Playwright + TypeScript · no owner recorded · skipped since March · inline selectors · no requirement links · Review with admin team

  • billing-ui-selenium/src/test/java/: Selenium + Java · owner Billing QA · failing on environment data · depends on BasePage.java and preprod-only invoice IDs · covers STORY-2950 · Migrate after data fix

  • payments-bdd/features/refunds.feature: pytest-bdd + Gherkin · owner Payments · active, passing · depends on steps/refund_steps.py and ds-refunds.csv · covers STORY-3341, INC-1874 · Migrate (wave 1)

  • api-contract/lint/: custom scripts · owner Platform · active · workflow environment variables · no requirement links · Keep in CI only

  • exp-visual-diff/: Playwright + TypeScript · no owner recorded · never stabilized · screenshot baselines · no requirement links · Retire (recorded)

Use this before importing a repository:

  • Every candidate test has a repository, path, framework, and owner

  • Current status and last meaningful run recorded

  • Shared helpers, page objects, data files, and config listed as dependencies

  • Secrets and personal data identified and kept out of migrated code and data

  • Requirement links recorded, or missing links flagged to the owner

  • Each test marked migrate, retire, or keep in CI, with a reason

  • GitHub App access limited to in-scope repositories

  • Discovery results compared against the inventory, with differences resolved

  • Owners lined up to review mappings and approve migrated assets

FAQ: quick answers

What is a GitHub test migration inventory? A per-test record of repository, path, framework, owner, status, dependencies, requirement links, data sensitivity, and a migrate, retire, or keep-in-CI decision, built before anything is imported.

Should we migrate every test in the repository? No. Migrate tests that need review, approval, and traceability as release evidence. Keep fast merge checks in CI, and retire dead or duplicate tests with a recorded reason.

Why do migrated tests fail on their first run? Usually because of missing dependencies: shared helpers, page objects, data files, environment variables, or secrets that lived outside the test folder. List them in the inventory first.

Can LoopIQ migrate tests from GitHub? Yes. LoopIQ can migrate existing tests from connected GitHub repositories, with dependency discovery, rescan identity, mapping review, and audit history. Migrated assets still need human review and approval before governed execution.

Does a migrated, passing test authorize a release? No. It produces evidence once it is approved and run against the right build. People make the go/no-go decision under policy.

Start with the list, not the import

See a requirement become reviewed tests and execution evidence in LoopIQ, including how migrated GitHub tests keep their owners and requirement links. Book a walkthrough: https://meet.brevo.com/ashwin-kondapalli.

General information for engineering, quality, release, and compliance leaders. Not legal, audit, or regulatory advice.

Recent Posts

See All
bottom of page