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

Lots of boilerplate code #1929

Closed
vanillajonathan opened this issue Nov 17, 2019 — with docs.microsoft.com · 0 comments · Fixed by #2319
Closed

Lots of boilerplate code #1929

vanillajonathan opened this issue Nov 17, 2019 — with docs.microsoft.com · 0 comments · Fixed by #2319
Assignees
Milestone

Comments

Copy link
Contributor

This example includes lots of boilerplate code that is duplicated for every test.
Maybe this example could use constructor/destructor, a base class or a class fixture in order to reduce boilerplate code?

Also, it is not explained why a new instance of the DbContext is used for creating the database schema, seeding the data, and running the tests.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@ajcvickers ajcvickers self-assigned this Nov 19, 2019
@ajcvickers ajcvickers added this to the Backlog milestone Nov 19, 2019
ajcvickers added a commit that referenced this issue Apr 26, 2020
More docs and samples

Fixes #430
Fixes #1304
Fixes #1724
Fixes #1929
Fixes #1929
Fixes #2236
Fixes #2262
Fixes #2301
ajcvickers added a commit that referenced this issue Apr 28, 2020
More docs and samples

Fixes #430
Fixes #1304
Fixes #1724
Fixes #1929
Fixes #1929
Fixes #2236
Fixes #2262
Fixes #2301
ajcvickers added a commit that referenced this issue Apr 28, 2020
More docs and samples

Fixes #430
Fixes #1304
Fixes #1724
Fixes #1929
Fixes #1929
Fixes #2236
Fixes #2262
Fixes #2301
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants