Open Zayik opened 8 months ago
This is something that is also pain for me, is there anybody who could share his reflections about what might be the problem here? My best guess for a quick look is that it runs with tests host and cocona might never be able to introduce itself properly to already configured host?
I created a .net 8.0 test project. Within that project, I included the latest Cocona package 2.2.0.
I then added the following test:
Upon running this test, the only output seen is the initial line "Attempting to call CoconaApp.Run". Breakpointing into this test, I can hit the call to CoconaApp.Run, but the code within the lambda expression is never executed.
Expected behavior: CoconaApp.Run should work and execute the lambda expression when tested using xunit/nunit Actual behavior: CoconaApp.Run never executes the lambda expression when tested using xunit/nunit.
Had anyone successfully ran Cocona as part of their integration tests?