testfx icon indicating copy to clipboard operation
testfx copied to clipboard

How would I create a mock/dummy test host implementation?

Open thomhurst opened this issue 1 year ago • 0 comments

I hope this makes sense.

Would I be able to create a dummy test host, basically mimicking if I was an IDE or the dotnet test host?

My thoughts are that I'd like to write some automated tests that verify that certain data is pushed to the message bus. I know it's an interface that I could mock, but I'd like to just do something like:

  • Execute my dummy/example test project using my dummy host
  • verify it received at least X discovered nodes
  • execute the tests
  • verify it received at least x passed/failed/skipped test nodes

Then if that ever drops I know I've knocked something out.

thomhurst avatar Oct 20 '24 15:10 thomhurst