Skip to content

Conversation

@sugmanue
Copy link
Contributor

Background

Adds tests for the rules engine. The tests validate that basic functionality works as expected. Added as a new package to make it accessible to Smithy code generators to be able to tests these.

Testing

Added a test to validate that model loads without issues, we already have a validator for the tests, EndpointTestsTraitValidator, that validate that those are correct.

Links

  • Links to additional context, if necessary
  • Issue #, if applicable (see here for a list of keywords to use for linking issues)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sugmanue sugmanue requested a review from a team as a code owner November 26, 2025 16:58
@github-actions
Copy link
Contributor

This pull request does not contain a staged changelog entry. To create one, use the ./.changes/new-change command. For example:

./.changes/new-change --pull-requests "#2864" --type feature --description "Add tests for rule engine"

Make sure that the description is appropriate for a changelog entry and that the proper feature type is used. See ./.changes/README or run ./.changes/new-change -h for more information.

@sugmanue sugmanue merged commit 9639082 into smithy-lang:main Nov 26, 2025
10 checks passed
@sugmanue sugmanue deleted the sugmanue/rules-engine-tests branch November 26, 2025 21:25
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.

2 participants