bUnit
bUnit copied to clipboard
Create TRY.NET Sample to embed into Docs
Is your feature request related to a problem? Please describe. Reading docs is not as intuitive as a working example where you can tinker and see how a library works
Describe the solution you'd like A TRY.NET sample with a test component and a bUnit test. The test could show an assertion being made and include a “TEST” button that runs the rest.
https://try.dot.net/
Thats a good idea @razfriman. Do you have any experience setting that up and integrating it into DocFx?
I actually don’t exactly how to set this up, but I was doing some reading on the subject after I had the thought. That reading led me to these samples of using the tool:
https://github.com/dotnet/try-samples
Perhaps one of these samples might be extended
Yeah, it should be possible. More info here: https://devblogs.microsoft.com/dotnet/creating-interactive-net-documentation/