Commit 1d8bda6
Make the .AddAttributedDI explicitly opt in + e2e tests (#21)
* WIP e2e tests
* Adding readme
* Compiles and tests pass
* Verified that transitive dependencies also work as expected.
* this works
* fixed small issue that I had noticed
* reworking
* WIP
* Fixing some issues
* let's see whether this is unecessary
* try it out
* This works
* Start over
* Fixed path and other issues
* Prepare references for e2e tests
* Move to nested directory
* updating nuget packages
* Refactoring MEDI dep
* adding missing assets to solution
* Make sure that test projects do not affect how analyzer works
* correct nuget path
* Some progress with e2e tests
* Looks like we had caught a bug
* Turn off e2e for now.
* Small refactoring
* WIP
* refactored
* Fixing compilation issues and refactoring tests
* WIP
* WIP
* codex refactoring. Reivewing and getting fixed.
* WIP
* Refactoring tests to my liking
* Updating global usings
* Fixing tests
* I configured IDE to automatically format on save instead of having codex to do that.
* Fixing compilation issue
* Including refernce in the unit test output
* Cover the case when there are no registered services but flag is present
* removing outdated opt in things and adding e2e to sln
* WIP
* E2E tests finally ready
* Small refactoring
* Clean up xml formatting rules
---------
Co-authored-by: Dmytro Ett <dmytro.ett@outlook.com>1 parent d4d915f commit 1d8bda6
File tree
73 files changed
+1024
-904
lines changed- .github
- instructions
- src
- AttributedDI.SourceGenerator
- ServiceCollectionExtensionsGeneration
- AttributedDI
- test
- AttributedDI.GenerateExtensionsOptIn.IntegrationTests
- AttributedDI.GenerateExtensionsOptOut.IntegrationTests
- AttributedDI.IntegrationTests
- AttributedDI.SourceGenerator.UnitTests
- Snapshots
- Util
- assets
- AllModulesRegistration.App
- AllModulesRegistration.Core
- Company.TeamName.Project.API
- CustomModuleName
- GenerateExtensions.OptIn
- GenerateExtensions.OptOut
- GeneratedInterfacesSut
- e2e
- integration
- AttributedDI.IntegrationTests
- Utils
- assets
- AllModulesRegistration.App
- AllModulesRegistration.Core
- Company.TeamName.Project.API
- CustomModuleName
- GeneratedInterfacesSut
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
73 files changed
+1024
-904
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
| 366 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 21 | | |
39 | 22 | | |
40 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 20 | + | |
| 21 | + | |
24 | 22 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
35 | 42 | | |
36 | 43 | | |
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
0 commit comments