Skip to content

[SUB-TASK] Fix TestUtilities Module Dependencies #92

@DrunkOnJava

Description

@DrunkOnJava

Sub-task of #90: Testing Infrastructure

Problem

TestUtilities module fails to import in test files, blocking all test compilation.

Error Details

import TestUtilities // Error: No such module 'TestUtilities'

Investigation Results

  • TestUtilities package exists at correct path
  • Package.swift properly defines the module
  • Tuist configuration may not link it correctly

Tasks

  • Verify TestUtilities Package.swift configuration
  • Update Tuist Project.swift to properly link TestUtilities
  • Ensure test targets have correct dependencies
  • Fix import statements in all test files
  • Add TestUtilities to all module test dependencies

Files to Update

  • Modules/TestUtilities/Package.swift
  • Project.swift (Tuist configuration)
  • All *Tests.swift files with TestUtilities imports

Verification Steps

  1. Run tuist generate
  2. Open Xcode and verify TestUtilities appears in test target dependencies
  3. Compile a single test file to verify import works
  4. Run full test suite compilation

Acceptance Criteria

  • TestUtilities imports successfully in all test files
  • No "No such module" errors
  • Test helper methods accessible
  • Module visible in Xcode project navigator

Estimated Effort: 1-2 days

Parent Issue: #90

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtestingTesting related changes

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions