Skip to main content

noqa runner

Project description

noqa-runner

AI-powered mobile test execution runner for iOS applications.

Installation

pip install noqa-runner

Quick Start

CLI

# Run with local IPA build
python -m noqa_runner run \
  --noqa-api-token $NOQA_API_TOKEN \
  --case-input-json '[
    {
      "case_instructions": "Open app and login with valid credentials"
    }
  ]' \
  --device-id "00008110-001234567890001E" \
  --apple-developer-team-id TEAM123456 \
  --app-bundle-id com.example.app \
  --build-path /path/to/app.ipa

# Run with TestFlight installation
python -m noqa_runner run \
  --noqa-api-token $NOQA_API_TOKEN \
  --case-input-json '[
    {
      "case_instructions": "Open app and verify features"
    }
  ]' \
  --device-id "00008110-001234567890001E" \
  --apple-developer-team-id TEAM123456 \
  --app-bundle-id com.example.app \
  --app-store-id 123456789

Required Options:

--noqa-api-token TEXT         noqa API authentication token [required]
--case-input-json TEXT        JSON with test cases: [{case_instructions, test_id?, case_name?}] [required]
--device-id TEXT              Device UDID for testing [required]
--apple-developer-team-id TEXT Apple Developer Team ID for code signing [required]
--app-bundle-id TEXT          App bundle ID (auto-extracted from IPA if not provided) [recommended]

Installation Options (choose one):

--build-path TEXT             Path to local IPA build file
--app-store-id TEXT           App Store ID for TestFlight installation

Other Options:

--app-context TEXT            Application context information [optional]
--agent-api-url TEXT          Agent API base URL [optional, default: https://agent.noqa.ai]
--log-level TEXT              Logging level [optional, default: INFO]
--appium-url TEXT             Appium server URL [optional, default: http://localhost:4723]

Python API

from noqa_runner import RunnerSession, RunnerTestInfo

# Create session
session = RunnerSession()

# Run with local IPA build
results = session.run(
    noqa_api_token="your-token",
    tests=[
        RunnerTestInfo(
            case_instructions="Open app and verify home screen",
        )
    ],
    device_id="00008110-001234567890001E",
    apple_developer_team_id="TEAM123456",
    app_bundle_id="com.example.app",
    app_build_path="/path/to/app.ipa",
)

# Run with TestFlight installation
results = session.run(
    noqa_api_token="your-token",
    tests=[
        RunnerTestInfo(
            case_instructions="Open app and verify features",
        )
    ],
    device_id="00008110-001234567890001E",
    apple_developer_team_id="TEAM123456",
    app_bundle_id="com.example.app",
    app_store_id="123456789",
)

for result in results:
    print(f"Test {result.case_name}: {result.status}")

Test Results

The CLI returns test results as JSON with detailed information about each test execution:

[
  {
    "case_instructions": "Complete onboarding, check that paywall has products",
    "status": "passed",
    "message": "Test completed",
    "test_conditions": [
      {
        "condition": "Onboarding process was completed successfully",
        "is_verified": true,
        "evidence": "User progressed through multiple onboarding screens, ending with 'Get started' button",
        "step_number": 4,
        "confidence": 100
      },
      ...
    ],
    "steps": [...]
  }
]

Result fields:

  • case_instructions - Original test instructions
  • status - Test status (passed, failed, error)
  • message - Summary of test execution result
  • test_conditions - List of conditions checked during test with verification results
  • resolution - Device screen resolution during test
  • steps - Detailed step-by-step execution history

Logging

All logs are output in JSON format with the following fields:

{
  "event": "test_started",
  "event_type": "progress",
  "test_id": "550e8400-e29b-41d4-a716-446655440000",
  "case_name": "Login Test",
  "timestamp": "2025-10-16T10:30:00Z"
}

Event types:

  • progress - Test execution progress
  • result - Final test result

License

Proprietary - noqa.ai

Support

For issues and questions, please contact sergey@noqa.ai

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

noqa_runner-0.1.10.tar.gz (27.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

noqa_runner-0.1.10-py3-none-any.whl (43.6 kB view details)

Uploaded Python 3

File details

Details for the file noqa_runner-0.1.10.tar.gz.

File metadata

  • Download URL: noqa_runner-0.1.10.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for noqa_runner-0.1.10.tar.gz
Algorithm Hash digest
SHA256 6b42048346290e98d9a771b7fca42c3560d22bc0cec76597d789ec193972b450
MD5 c401eb0e0e006d3cbdb5ab3d91866c47
BLAKE2b-256 b174d43073cb77b90bb5f1cc717f916905526833fea2287d40eb57e4a58e1c50

See more details on using hashes here.

File details

Details for the file noqa_runner-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: noqa_runner-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 43.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for noqa_runner-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 d37c056b3a89cf37ee25393a23ba07283f9590f1e80ae06d88fc88279a7e1ffe
MD5 198db2ee97b1b6558317132aad8f03a2
BLAKE2b-256 2836219f3448536333ce832a597ec44ac812154597a0b00c6268ddd2617208af

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page