No description
Find a file
Frederik Engelhardt 2c0ef1adea
All checks were successful
Build / enforce-branch-policy (push) Successful in 2s
Build / build (push) Successful in 2m23s
Build / deploy (push) Has been skipped
Merge pull request 'test' (#25) from test into dev
Reviewed-on: #25
2026-01-28 20:56:06 +01:00
.config Adjust code for migration 2026-01-24 20:12:57 +01:00
.forgejo Adjust code for migration 2026-01-24 20:12:57 +01:00
Build Update git submodule references and NuGet package references 2026-01-25 13:24:56 +01:00
CodeStyle@89917d859b Upgrade to MSTest 4.x 2026-01-25 20:39:21 +01:00
Source Update README.md 2026-01-28 20:08:29 +01:00
Tests Update README.md 2026-01-28 20:08:29 +01:00
.gitattributes Adjust code for migration 2026-01-24 20:12:57 +01:00
.gitignore Adjust code for migration 2026-01-24 20:12:57 +01:00
.gitmodules - Added self-hosted git submodule references. 2026-01-15 11:07:07 +01:00
.runsettings - Imported the source code. 2024-03-31 17:39:28 +02:00
build.cake Adjust code for migration 2026-01-24 20:12:57 +01:00
build.ps1 Adjust code for migration 2026-01-24 20:12:57 +01:00
build.sh Adjust code for migration 2026-01-24 20:12:57 +01:00
equadrat.Framework.Test.Description.txt - Imported the source code. 2024-03-31 17:39:28 +02:00
equadrat.Framework.Test.DotSettings - Imported the source code. 2024-03-31 17:39:28 +02:00
equadrat.Framework.Test.License.md - Imported the source code. 2024-03-31 17:39:28 +02:00
equadrat.Framework.Test.ReleaseNotes.md Update README.md and release notes 2026-01-27 18:50:18 +01:00
equadrat.Framework.Test.sln - Imported the source code. 2024-03-31 17:39:28 +02:00
equadrat.Framework.Test.sln.DotSettings - Imported the source code. 2024-03-31 17:39:28 +02:00
equadrat.Framework.Test.stylecop.json - Imported the source code. 2024-03-31 17:39:28 +02:00
equadrat.Framework.Test.Tags.txt - Imported the source code. 2024-03-31 17:39:28 +02:00
NuGet.config Adjust code for migration 2026-01-24 20:12:57 +01:00
project.build.props Update README.md and release notes 2026-01-27 18:50:18 +01:00
project.info.build.props Adjust code for migration 2026-01-24 20:12:57 +01:00
README.md Update README.md 2026-01-28 20:08:29 +01:00

equadrat Framework Test

The idea of the equadrat Framework is to provide APIs to build applications with an architecture of highly decoupled components. Every single component, aspect or pattern is represented by interfaces. The framework provides a standard implementation for these but each type can be replaced by a custom implementation.

The framework is not about reimplementing components, but making them available using common interfaces.

Getting started

You can use most of the components by simply instantiating them. This is maybe the easiest way to evaluate the framework.

If you're using an IOC/DI container such as Microsoft Extensions DependencyInjection or if you want to use the built-in IOC framework, you can use the bootstrapper and bootstrapper modules to register the framework to the IOC.

Usage

[TestClass]
public sealed class MyUnitTest: MSTestExtDITemplate // This requires equadrat.Framework.Test.MSTest.Extensions.DependencyInjection NuGet package.
{
    protected override void RegisterDependencyModules(ICoreBootstrapperModuleRegistry moduleRegistry)
    {
        // Use the module registry to register bootstrapper modules. Usually each assembly has its own bootstrapper module.
        moduleRegistry.CoreFramework().RegisterBaseModule();

        base.RegisterDependencyModules(moduleRegistry);
    }

    protected override void ConfigureServices(IServiceCollection serviceCollection)
    {
        // Optional: declare other services as usual.

        // serviceCollection.AddSingleton<>();

        base.ConfigureServices(serviceCollection);
    }

    [TestMethod]
    public void MyTest()
    {
        // You can use the factory to resolve services:
        // this.Factory.GetInstanceOf<...>();
        // this.Factory.ServiceProvider.GetRequiredService<...>();

        // ...
    }
}

Have a look at the example applications on equadrat.net and in the wiki.

Interesting components

This is a list of some (not all) components of the framework which might be interesting for you.

Unit tests

  • MSTestTemplate
  • MSTestExtDITemplate (for Microsoft.Extensions.DependencyInjection)

Compatibility

The plan is to keep the equadrat Framework compatible to these .net versions as long as possible.

.net version min max automated tests*
Core 3.1 ≥ 10.x yes
Standard 2.0 ≥ 2.1 no
Framework 4.6.2 ≥ 4.8.x no

*The automated tests run under Linux for .net Core 6.x and above.

Version scheme and breaking changes

Version change Scope
Major Overhaul of the project
Minor Some types have changed
Revision Fully backward compatible
Build Set in preview versions only

Additional documentation

You can find some guides regarding specific features on my website: www.equadrat.net

Feedback

You can contact me on my website: www.equadrat.net

License

Please respect the license and check equadrat.Framework.Test.License.md before using the package.