Using MonoDevelop 5.x on OSX, I have some failing unit tests using Machine.Specifications that I would like to debug through to find the specific issue that's causing the failure. Is there a way to debug MSpec tests through MonoDevelop?
You can run MSpec code through custom commands allowing you to debug through your tests directly through MonoDevelop:
Run > Custom Commands
Execute
under the dropdown menuTarget File
Project Directory
You should now have a command that looks like ../path/to/mspec-clr.exe ${TargetFile}
You should now be able to place breakpoints in your test code, and start your tests with Start Debugging Item
or running in debug mode.