Helper Scripts

TestIntel provides standalone helper scripts that work independently — no TestIntel installation required. Just Python 3.11+.

Quick Start: Import Your Existing Tests

If your team already has automated tests, you can populate TestIntel's inventory in under a minute. Here's the workflow:

Step 1: Download the scanner

Go to Help → Helper Scripts in TestIntel, or download directly: scan_tests.py

Step 2: Scan your repo


python scan_tests.py --path C:\repos\my-project

The scanner finds all test files (BDD, pytest, Robot Framework, JUnit, Playwright/Cypress) and exports them to test-scan.csv.

You'll see a summary like:


Scan complete:
  BDD/Gherkin:           12 scenarios from 4 files
  pytest:                45 tests from 8 files
  Playwright/Cypress:     6 tests from 2 files

Total: 63 tests exported to test-scan.csv

Step 3: Upload to TestIntel

  1. Open TestIntel and select your project from the dropdown
  1. Go to the Inventory tab
  1. Click Upload Results (or use the Chat to say "import these tests")
  1. Upload the test-scan.csv file

Your tests are now tracked in TestIntel's inventory with their names, types, tags, and source file paths.

Step 4: Start generating new tests

With your existing tests visible, TestIntel's AI can identify coverage gaps and generate tests that complement what you already have — no duplicates.


Script Reference

Test Scanner — Import Existing Tests

Already have tests in your repo? The test scanner finds them and exports a CSV you can upload to TestIntel's inventory.

Supported frameworks:

Download: scan_tests.py

Usage:


# Scan entire repo
python scan_tests.py --path /path/to/repo

# Only scan BDD and pytest
python scan_tests.py --path /path/to/repo --frameworks bdd,pytest

# Custom output file
python scan_tests.py --path /path/to/repo --output my-tests.csv

# Exclude directories
python scan_tests.py --path /path/to/repo --exclude node_modules,.venv

Output: A CSV file with columns: name, type, priority, tags, steps, automation_status, source_file

Upload the CSV to TestIntel via the Inventory tab's import feature.

Jira Export — Export Tickets to CSV

Export Jira tickets to CSV for use as requirements input to TestIntel.

Download: jira_export.py

Prerequisites:

Usage:


# Set credentials
export JIRA_EMAIL=you@company.com
export JIRA_API_TOKEN=your-token

# Export a project
python jira_export.py --url https://yourorg.atlassian.net --project HR

# Export specific tickets
python jira_export.py --url https://yourorg.atlassian.net --tickets HR-1,HR-6,HR-8

# Export with JQL
python jira_export.py --url https://yourorg.atlassian.net --jql "project = HR AND type = Bug"

Output: A CSV file with columns: Issue Key, Summary, Issue Type, Priority, Status, Labels, Description, Acceptance Criteria, Assignee, Reporter, Created, Updated