Some experimentation shows that NUnit framework + NUnitLite runner will work under AOT scenarios today if consumers opt-out of assembly trimming by using the <TrimmerRootAssembly> csproj setting. Ideally, this isn't needed and everything "just works" both at framework-level and any consumers or runners (incl. adapter, console-runner, etc).
I think it might be helpful to start to document the current state and what can be done it make it work today for those who wish to or need to use AOT. The page can evolve over time as our own support evolves.
A minimal, working proof-of-concept can be found: nunit/nunit#5358 (comment)
Some experimentation shows that NUnit framework + NUnitLite runner will work under AOT scenarios today if consumers opt-out of assembly trimming by using the
<TrimmerRootAssembly>csproj setting. Ideally, this isn't needed and everything "just works" both at framework-level and any consumers or runners (incl. adapter, console-runner, etc).I think it might be helpful to start to document the current state and what can be done it make it work today for those who wish to or need to use AOT. The page can evolve over time as our own support evolves.
A minimal, working proof-of-concept can be found: nunit/nunit#5358 (comment)