Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify composable controller tests #1077

Merged
merged 2 commits into from
Jan 25, 2023

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Jan 24, 2023

The composable controller tests have been simplified. They no longer use real controllers, instead using mock controllers defined in the test module.

This should reduce the churn we've been seeing in these tests as we make breaking changes to controllers.

Checklist

  • Tests are included if applicable
  • Any added code is fully documented

The composable controller tests have been simplified. They no longer
use real controllers, instead using mock controllers defined in the
test module.

This should reduce the churn we've been seeing in these tests as we
make breaking changes to controllers.
adonesky1
adonesky1 previously approved these changes Jan 24, 2023
Copy link
Contributor

@adonesky1 adonesky1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Makes sense!

Copy link
Contributor

@adonesky1 adonesky1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Gudahtt Gudahtt merged commit 7b72c6f into main Jan 25, 2023
@Gudahtt Gudahtt deleted the simplify-composable-controller-tests branch January 25, 2023 15:44
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
The composable controller tests have been simplified. They no longer use
real controllers, instead using mock controllers defined in the test
module.

This should reduce the churn we've been seeing in these tests as we make
breaking changes to controllers.

**Checklist**

- [x] Tests are included if applicable
- [x] Any added code is fully documented
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
The composable controller tests have been simplified. They no longer use
real controllers, instead using mock controllers defined in the test
module.

This should reduce the churn we've been seeing in these tests as we make
breaking changes to controllers.

**Checklist**

- [x] Tests are included if applicable
- [x] Any added code is fully documented
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