Ability to pass a Solution file and extract tests from included projects
Closed this issue · 3 comments
This feature to enable the user to pass a .NET solution file on the CLI and in the GUI. The engine will then extract Tests from the debug assemblies it can find from the included projects of the solution.
Change of plan for this feature: it will only encompass the CLI not the GUI, the GUI is only designed to run single assemblies.
For the CLI, there will be two new arguments: --sln
for the single solution file and --sconfig
for the solution's build configuration mode - this will be where Edison searches for the binaries.
During the implementation, I found a bug with the creation of output files. If you didn't supply an OutputFile argument then no output would be generated. This was because the ConsoleOptions.cs
class wasn't defaulting the value to "ResultFile".
This has been fixed as a part of this feature.
There is now also the concept of "CurrentAssembly" in the EdisonContext
. This contains the value of the current assembly having its tests run.
Furthermore, output from Edison via JSON, XML, etc. has been updated to include the assembly from which the test was run.