Skip to content

Implement ensemble test framework#2258

Draft
sharjeelyunus wants to merge 1 commit into
mainfrom
support-test-cases
Draft

Implement ensemble test framework#2258
sharjeelyunus wants to merge 1 commit into
mainfrom
support-test-cases

Conversation

@sharjeelyunus
Copy link
Copy Markdown
Member

Description

  • Added new scripts in melos.yaml for running Ensemble YAML tests and generating test schemas.
  • Introduced a reset method in Ensemble class to clear singleton state between tests.
  • Implemented a new ensemble_test_runner package with a CLI for running declarative YAML tests.
  • Added extensive documentation for the new test runner, including a step vocabulary and JSON schema for test files.
  • Developed assertion engine and extended step handlers to support a wider range of test actions and assertions.

This commit lays the groundwork for a more robust testing framework for Ensemble applications.

Related Issue

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring (no functional changes)

What Has Changed

How to Test

Screenshots / Videos

Checklist

  • I have run flutter analyze and addressed any new warnings
  • I have run flutter test and all tests pass
  • I have tested my changes on the relevant platform(s)
  • I have updated documentation if needed
  • My changes do not introduce new warnings or errors

- Updated .gitignore to include IntelliJ/Android Studio module files and runtime-generated GetStorage files.
- Added new scripts in melos.yaml for running Ensemble YAML tests and generating test schemas.
- Introduced a reset method in Ensemble class to clear singleton state between tests.
- Implemented a new ensemble_test_runner package with a CLI for running declarative YAML tests.
- Added extensive documentation for the new test runner, including a step vocabulary and JSON schema for test files.
- Developed assertion engine and extended step handlers to support a wider range of test actions and assertions.

This commit lays the groundwork for a more robust testing framework for Ensemble applications.
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.

1 participant