Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@appifex/test-gen

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appifex/test-gen

Test generation (Maestro UI flows + XCTest/Gradle unit tests) for the appifex-dtc pipeline

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
2
Created
Source

@appifex/test-gen

Generate all tests (UI + unit) before code. This is the "tests first" step of the two-layer TDD approach.

Usage

import { generateUITests, generateUnitTests } from '@appifex/test-gen'

// Generate Maestro UI test flows from platform spec
const flows = generateUITests(platformSpec)
// → [{ name: 'Browse Pets', fileName: 'browse-pets.yaml', content: '...' }, ...]

// Generate unit tests from business requirements
const files = generateUnitTests(
  ['Filter pets by type', 'Add and remove favorites', 'Validate adoption form'],
  'swiftui',
)
// → [{ fileName: 'RequirementsTests.swift', content: '...', testCount: 3 }]

What it generates

TypePlatformOutput
UI testsswiftuiMaestro YAML flows with assertVisible + tapOn
UI testskotlin-composeMaestro YAML flows (same format)
Unit testsswiftuiXCTest .swift files
Unit testskotlin-composeJUnit .kt files

Generated tests are locked — they become the contract that code generation must satisfy.

Keywords

appifex

FAQs

Package last updated on 20 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts