Allow test seeding data to be intercepted/tweaked by providers
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reviewing the GearsOfWar, JsonQuery, ConferencePlanner, ValueConvertersEndToEnd (TestValues), and BuiltInDataTypes tests, especially the named test cases. Trace how their seed data is defined and how AssertEqualIfMapped is used. Done means providers can intercept and adjust seed data while the affected tests still verify supported types.
Written by the indexing model from the issue text.
Description
As an example, PostgreSQL does not support storing a DateTimeOffset (with non-zero offset). Since test suites such as GearsOfWar and ConferencePlanner contain such data, Npgsql needs to override and modify the data; but seed data currently isn't factored so that this can be done easily.
- GearsOfWar, JsonQuery, ConferencePlanner
- ValueConvertersEndToEnd: TestValues
- BuiltInDataTypes
- Tests like Can_insert_and_read_back_non_nullable_backed_data_types, Can_query_using_any_data_type_nullable_shadow which only work if all data types are supported exactly as-is.
- AssertEqualIfMapped is private
- Review the test suite in general
- Dominant language
- C#
- Stars
- 14.8k
- Forks
- 3.4k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 134
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dotnet/efcore
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
-
customer-reported
Difficulty 5/5 Over a week Newbie friendliness 38/100
-
area-cosmos area-vector-search
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
area-cosmos
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
area-tools needs-design
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
dotnet/AspNetCore.Docs#37699 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SubtitleEdit/subtitleedit#15108 · 1 comment ·
-
area/docs-content Bug pulumi/docs
Difficulty 1/5 1-3 hours Newbie friendliness 94/100
-
agentic-workflows untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100