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

Add a test of a behavior with fields to @inherit #1897

Closed
stevepiercy opened this issue Mar 18, 2025 · 0 comments · Fixed by #1902
Closed

Add a test of a behavior with fields to @inherit #1897

stevepiercy opened this issue Mar 18, 2025 · 0 comments · Fixed by #1902

Comments

@stevepiercy
Copy link
Contributor

@erral @stevepiercy I considered the documentation tests to be a fairly adequate functional test. They confirm that the endpoint exists, can be called without an error, and returns data in the expected format -- and they'll break if that format changes unexpectedly.

As this issue revealed, they didn't cover the case of a behavior that actually includes fields. That was me being lazy because there wasn't an obvious built-in behavior that would be a good test case. It would be good to add a test that does this with a new behavior created for the purposes of the test. I'm drowning in tasks and probably won't get to this anytime soon.

Originally posted by @davisagli in #1895

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 a pull request may close this issue.

1 participant