Skip to content

Conversation

@ctn
Copy link
Member

@ctn ctn commented Jul 26, 2025


name: Pull request
about: Contribute to the OpenSSM project


Describe the changes
This PR completes the implementation of the Datest framework as outlined in datest/.design/3d-design.md. It covers:

  • Phase 2: Dana Integration: Introduction of data models (datest/models.py), a Dana assertion parser (datest/assertions.py), and enhancements to the executor and reporter to handle structured Dana test output.
  • Phase 3: Polish & Integration: Implementation of a pytest plugin (datest/pytest_plugin.py) for seamless Dana test discovery and execution within pytest, a robust configuration system (datest/config.py) supporting datest.toml and pyproject.toml, and an enhanced CLI.

Additionally, datest/.design/3d-design.md has been updated to reflect the completion of these phases, and a new IMPLEMENTATION_SUMMARY.md has been added detailing the implemented features and project structure. A sample datest.toml configuration file is also included.

Related issues
Implements the design and implementation plan detailed in datest/.design/3d-design.md.

Tests
Comprehensive unit, integration, and end-to-end tests have been added:

  • tests/unit/: New unit tests for datest/models.py, datest/assertions.py, datest/config.py, and datest/executor.py.
  • tests/integration/: Integration tests covering the full Dana test pipeline.
  • tests/e2e/: End-to-end tests for CLI functionality and configuration loading.
  • Existing tests/fixtures/ are used for testing.

Checklist

  • I have added tests that prove my changes are effective or that my feature works
  • I have added necessary documentation (if appropriate)

Open in WebOpen in CursorOpen Docs

Co-authored-by: ctn <ctn@aitomatic.com>
@ctn ctn merged commit 572e58f into develop Jul 26, 2025
1 check failed
@ctn ctn deleted the cursor/implement-and-test-new-feature-phase-by-phase-a3ba branch July 26, 2025 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants