-
Notifications
You must be signed in to change notification settings - Fork 722
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
Update tests to follow naming convention #1849
Labels
Comments
calvincestari
added a commit
that referenced
this issue
Jul 20, 2021
Merged
calvincestari
added a commit
that referenced
this issue
Jul 21, 2021
* Add Swift codegen engine argument test * Update test function names to match #1849 * Remove test file attribution header
calvincestari
added a commit
that referenced
this issue
Jul 21, 2021
calvincestari
added a commit
that referenced
this issue
Jul 21, 2021
* Revert "Remove inflection option, pluralizer and dependency" * Move from InflectorKit fork to origin with 1.0.0 minimum * Update to comply with InflectorKit 1.0.0 deprecations * Enable code generation options to accept additional inflection rules * Update PluralizerTest function names to match #1849 * Shuffle parameter documentation order to match parameter input order
calvincestari
added a commit
that referenced
this issue
Aug 13, 2021
* Add Swift codegen engine argument test * Update test function names to match #1849 * Remove test file attribution header
calvincestari
added a commit
that referenced
this issue
Aug 13, 2021
* Revert "Remove inflection option, pluralizer and dependency" * Move from InflectorKit fork to origin with 1.0.0 minimum * Update to comply with InflectorKit 1.0.0 deprecations * Enable code generation options to accept additional inflection rules * Update PluralizerTest function names to match #1849 * Shuffle parameter documentation order to match parameter input order
calvincestari
added a commit
that referenced
this issue
Aug 23, 2021
* Add Swift codegen engine argument test * Update test function names to match #1849 * Remove test file attribution header
calvincestari
added a commit
that referenced
this issue
Aug 23, 2021
* Revert "Remove inflection option, pluralizer and dependency" * Move from InflectorKit fork to origin with 1.0.0 minimum * Update to comply with InflectorKit 1.0.0 deprecations * Enable code generation options to accept additional inflection rules * Update PluralizerTest function names to match #1849 * Shuffle parameter documentation order to match parameter input order
calvincestari
added a commit
that referenced
this issue
Sep 3, 2021
* Add Swift codegen engine argument test * Update test function names to match #1849 * Remove test file attribution header
calvincestari
added a commit
that referenced
this issue
Sep 3, 2021
* Revert "Remove inflection option, pluralizer and dependency" * Move from InflectorKit fork to origin with 1.0.0 minimum * Update to comply with InflectorKit 1.0.0 deprecations * Enable code generation options to accept additional inflection rules * Update PluralizerTest function names to match #1849 * Shuffle parameter documentation order to match parameter input order
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This hasn't been the pattern used in the past, but we're suggesting an improvement for naming test functions. It makes for a better understanding of what's being tested and what the expected behavior is.
The naming convention to adopt is
test_${thing-being-tested}_given${parameters-or-details}_(will|should|does|doesNot)${expected-behavior}
. See here as an example.Use this issue to track the tests that have been updated and those remaining; we don't need to get it all done in one PR.
ApolloCodegenTests
ApolloPerformanceTests
ApolloServerIntegrationTests
ApolloTests
The text was updated successfully, but these errors were encountered: