Exception handling reduces code coverage. how to handle this

Exception handling reduces code coverage. how to handle this

Exception handling reduces code coverage. how to handle this situation? especially when exception come very rare (but they could come) and we cannot create situations to make them appear.

If somebody has any suggestion, please let me know.


Re: System.InvalidOperationException

This is an NCoverExplorer bug, not an NCover one.

It is fixed in later versions (you are running quite an old one) - you can read details on the latest version (currently 1.3.3) at http://www.kiwidude.com/blog/

If you do not want to upgrade for whatever reason (I highly recommend you do though), the temporary workaround is to delete your .config file which is located in: C:\Documents and Settings\[username]\Application Data\KiwiDevelopment\NCoverExplorer\NCoverExplorer.config

Regards,
Grant.


Re: ncover and nunit

woops...wasn't supposed to have the ".dll" on the //a parameter...Now it is working.