Skip to content

Releases: TestFlowLabs/testlink

v1.1.0 - CLI Summary Statistics

14 Dec 10:39

Choose a tag to compare

What's New

CLI Summary Statistics

All CLI commands now display a consistent summary section at the end of their output, providing clear statistics about the operations performed.

Features

  • Unified Summary Format: All four commands (report, validate, sync, pair) now show a consistent summary section
  • Dry-run Support: Summary clearly indicates when running in dry-run mode
  • Completion Messages: Each command ends with a checkmark (✓) and completion status

Command Summaries

report

  Summary
  ───────
    Methods with tests:       12
    Total test links:         24
    @see tags:                23

  ✓ Report complete.

validate

  Summary
  ───────
    PHPUnit attribute links:  10
    Pest method chain links:  5
    @see tags:                8
    Total links:              23

    Issues found:             3
      Duplicates:             1
      Orphan @see tags:       1
      Non-FQCN @see tags:     1
    Issues fixed:             1

  ✓ Validation complete.

sync

  Summary
  ───────
    Files modified:           3
    Files pruned:             0
    @see tags added:          8
    @see tags removed:        2
    #[TestedBy] added:        3

  ✓ Sync complete.

pair

  Summary
  ───────
    Placeholders resolved:    3
    Total changes:            12
    Files modified:           6

  ✓ Pairing complete.

Other Changes

  • Added summaryHeader(), summaryLine(), and summaryComplete() helper methods to Output class
  • Added comprehensive tests for Output class (29 new tests)
  • Updated documentation with new output examples

Full Changelog: v1.0.1...v1.1.0

v1.0.1

14 Dec 10:21

Choose a tag to compare

Bug Fixes

  • fix: Correct N:M @see tag resolution - each test now correctly gets ALL linked production methods when using @@prefix
  • fix: Resolve empty lines bug in docblocks - indent detection now captures only horizontal whitespace (spaces/tabs), not newlines

Tests

  • Added regression tests for N:M @see tag resolution
  • Added regression tests for empty lines in multi-method docblocks

v1.0.0 - First Stable Release

13 Dec 23:30

Choose a tag to compare

🎉 First Stable Release

TestLink is now production-ready! This release provides comprehensive test traceability for PHP projects.

✨ Features

  • Framework-agnostic test traceability - Works with both Pest and PHPUnit
  • Bidirectional linking - Connect production code to tests and vice versa
  • CLI commands - report, validate, sync, and pair commands
  • Placeholder workflow - Rapid TDD/BDD development with @placeholder markers
  • Automatic synchronization - Keep production and test links in sync

📦 Installation

# Install attributes package (production dependency)
composer require testflowlabs/test-attributes

# Install CLI tools (dev dependency)
composer require --dev testflowlabs/testlink

📚 Documentation

Visit link.testflowlabs.dev for complete documentation.

🔗 Links