├── .github ├── CODEOWNERS ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── custom.md │ └── feature_request.md ├── copilot-instructions.md ├── dependabot.yml └── workflows │ ├── auto-assign.yml │ ├── codeql-analysis.yml │ ├── stale.yml │ └── summary.yml ├── .gitignore ├── .vscode ├── launch.json ├── settings.json └── tasks.json ├── CHANGELOG.md ├── CITATION.cff ├── CODE_OF_CONDUCT.md ├── CONSTRUCTOR_INJECTION.md ├── Directory.Packages.props ├── Examples.md ├── LICENSE ├── README.md ├── _config.yml ├── azure-pipeline-PR.yml ├── azure-pipelines.yml ├── dotnet-install.sh ├── examples └── Xunit.Microsoft.DependencyInjection.ExampleTests │ ├── AdvancedDependencyInjectionTests.cs │ ├── CalculatorTests.cs │ ├── DebugFactoryTests.cs │ ├── FactoryConstructorInjectionTests.cs │ ├── Fixtures │ ├── FactoryTestProjectFixture.cs │ └── TestProjectFixture.cs │ ├── GlobalUsings.cs │ ├── KeyedServicesTests.cs │ ├── PropertyInjectionTests.cs │ ├── ScopedServiceTests.cs │ ├── SecretValues.cs │ ├── Services │ ├── Calculator.cs │ ├── CalculatorService.cs │ ├── ICalculator.cs │ ├── ICarMaker.cs │ ├── IScopedService.cs │ ├── ISingletonService.cs │ ├── ITransientService.cs │ ├── Options.cs │ ├── Porsche.cs │ ├── ScopedService.cs │ ├── SimpleService.cs │ ├── SingletonService.cs │ ├── Toyota.cs │ └── TransientService.cs │ ├── SingletonServiceTests.cs │ ├── TransientServiceTests.cs │ ├── UnitTests.cs │ ├── UserSecretTests.cs │ ├── Xunit.Microsoft.DependencyInjection.ExampleTests.csproj │ └── appsettings.json ├── google1399ddbab0b8eed5.html └── src ├── .editorconfig ├── Abstracts ├── TestBed.cs ├── TestBedFactoryFixture.cs ├── TestBedFixture.cs └── TestBedWithDI.cs ├── Attributes ├── FromKeyedServiceAttribute.cs ├── InjectAttribute.cs └── TestOrderAttribute.cs ├── GlobalUsings.cs ├── Logging ├── NilLoggerProvider.cs ├── NoOpDisposable.cs ├── OutputLogger.cs └── OutputLoggerProvider.cs ├── TestAppSettings.cs ├── TestsOrder └── TestPriorityOrderer.cs ├── Xunit.Microsoft.DependencyInjection.csproj └── Xunit.Microsoft.DependencyInjection.sln /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | Arash-Sabet 2 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/custom.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/.github/ISSUE_TEMPLATE/custom.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/copilot-instructions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/.github/copilot-instructions.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/auto-assign.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/.github/workflows/auto-assign.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/.github/workflows/stale.yml -------------------------------------------------------------------------------- /.github/workflows/summary.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/.github/workflows/summary.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CITATION.cff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/CITATION.cff -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONSTRUCTOR_INJECTION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/CONSTRUCTOR_INJECTION.md -------------------------------------------------------------------------------- /Directory.Packages.props: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/Directory.Packages.props -------------------------------------------------------------------------------- /Examples.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/Examples.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/README.md -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/_config.yml -------------------------------------------------------------------------------- /azure-pipeline-PR.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/azure-pipeline-PR.yml -------------------------------------------------------------------------------- /azure-pipelines.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/azure-pipelines.yml -------------------------------------------------------------------------------- /dotnet-install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/dotnet-install.sh -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/AdvancedDependencyInjectionTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/AdvancedDependencyInjectionTests.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/CalculatorTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/CalculatorTests.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/DebugFactoryTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/DebugFactoryTests.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/FactoryConstructorInjectionTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/FactoryConstructorInjectionTests.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Fixtures/FactoryTestProjectFixture.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Fixtures/FactoryTestProjectFixture.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Fixtures/TestProjectFixture.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Fixtures/TestProjectFixture.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/GlobalUsings.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/GlobalUsings.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/KeyedServicesTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/KeyedServicesTests.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/PropertyInjectionTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/PropertyInjectionTests.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/ScopedServiceTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/ScopedServiceTests.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/SecretValues.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/SecretValues.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/Calculator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/Calculator.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/CalculatorService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/CalculatorService.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/ICalculator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/ICalculator.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/ICarMaker.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/ICarMaker.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/IScopedService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/IScopedService.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/ISingletonService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/ISingletonService.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/ITransientService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/ITransientService.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/Options.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/Options.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/Porsche.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/Porsche.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/ScopedService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/ScopedService.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/SimpleService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/SimpleService.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/SingletonService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/SingletonService.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/Toyota.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/Toyota.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/TransientService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Services/TransientService.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/SingletonServiceTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/SingletonServiceTests.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/TransientServiceTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/TransientServiceTests.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/UnitTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/UnitTests.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/UserSecretTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/UserSecretTests.cs -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Xunit.Microsoft.DependencyInjection.ExampleTests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Xunit.Microsoft.DependencyInjection.ExampleTests.csproj -------------------------------------------------------------------------------- /examples/Xunit.Microsoft.DependencyInjection.ExampleTests/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/examples/Xunit.Microsoft.DependencyInjection.ExampleTests/appsettings.json -------------------------------------------------------------------------------- /google1399ddbab0b8eed5.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/google1399ddbab0b8eed5.html -------------------------------------------------------------------------------- /src/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/src/.editorconfig -------------------------------------------------------------------------------- /src/Abstracts/TestBed.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/src/Abstracts/TestBed.cs -------------------------------------------------------------------------------- /src/Abstracts/TestBedFactoryFixture.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/src/Abstracts/TestBedFactoryFixture.cs -------------------------------------------------------------------------------- /src/Abstracts/TestBedFixture.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/src/Abstracts/TestBedFixture.cs -------------------------------------------------------------------------------- /src/Abstracts/TestBedWithDI.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/src/Abstracts/TestBedWithDI.cs -------------------------------------------------------------------------------- /src/Attributes/FromKeyedServiceAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/src/Attributes/FromKeyedServiceAttribute.cs -------------------------------------------------------------------------------- /src/Attributes/InjectAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/src/Attributes/InjectAttribute.cs -------------------------------------------------------------------------------- /src/Attributes/TestOrderAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/src/Attributes/TestOrderAttribute.cs -------------------------------------------------------------------------------- /src/GlobalUsings.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/src/GlobalUsings.cs -------------------------------------------------------------------------------- /src/Logging/NilLoggerProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/src/Logging/NilLoggerProvider.cs -------------------------------------------------------------------------------- /src/Logging/NoOpDisposable.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/src/Logging/NoOpDisposable.cs -------------------------------------------------------------------------------- /src/Logging/OutputLogger.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/src/Logging/OutputLogger.cs -------------------------------------------------------------------------------- /src/Logging/OutputLoggerProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/src/Logging/OutputLoggerProvider.cs -------------------------------------------------------------------------------- /src/TestAppSettings.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/src/TestAppSettings.cs -------------------------------------------------------------------------------- /src/TestsOrder/TestPriorityOrderer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/src/TestsOrder/TestPriorityOrderer.cs -------------------------------------------------------------------------------- /src/Xunit.Microsoft.DependencyInjection.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/src/Xunit.Microsoft.DependencyInjection.csproj -------------------------------------------------------------------------------- /src/Xunit.Microsoft.DependencyInjection.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Umplify/xunit-dependency-injection/HEAD/src/Xunit.Microsoft.DependencyInjection.sln --------------------------------------------------------------------------------