TestCentric / testcentric-engine

Test engine that loads and runs tests for TestCentric
MIT License
0 stars 3 forks source link

Create separate project for TestCentric.Engine.Api package #134

Closed CharliePoole closed 9 months ago

CharliePoole commented 11 months ago

The testcentric-engine GitHub project produces three different NuGet packages

TestCentric.Engine depends on the other two and the Core package depends on the Api. In addition, some engine extensions depend on the Core and/or the Api assemblies. In particular, all pluggable agents depend on both.

Even though the references are not circular, this gives rise to a kind of functional circular dependency, which was first noticed in working on issue #127 and gave rise to an adhoc fix in our Cake recipe.

One way to resolve this would be to build all our pluggable agents, or at least those distributed with the engine, as part of the testcentric-engine project. But this would leave us open to other future extensions possibly creating the same situation.

In any case, it seems simpler for each of our GitHub projects to only produce a single package. (In some cases there might be different formats delivered, such as NuGet and Chocolatey, but the functionality of the packages would be the same.)

This issue addresses separation of the TestCentric.Engine.Api package. The TestCentric.Engine.Core package will be addressed in a separate issue. Once these changes are complete, we will be able to simplify our Cake recipe accordingly.

CharliePoole commented 9 months ago

:tada: This issue has been resolved in version 2.0.0-beta3 :tada:

The release is available on: