Hi all

 

I have a Test Assembly which does some negative testing on non existent files (i.e. ensuring the application fails gracefully, I originally had these tests being called through nunit-console, where by they passed fine, but when I migrated the call over to nunit2 task the tests throw an error earlier on than expected.

 

Essentially the test now fails when calling FileInfo.attributes on a non-existent file, which previously didn’t throw an exception.

 

The tests all work through the GUI runner too. So I’m wondering if anyone can give some ideas as to why this might be/how I might be able to fix it.

 

Cheers

Owen Evans

 

=======================================================
Owen Evans, Developer/Tester, Cresta Group Ltd

Mobile:         +44 (0)79 21761557              Direct:     +44 (0)20 7448 4635

Office:          +44 (0)20 7448 4620             Fax:        +44 (0)20 7448 4651

Email:          [EMAIL PROTECTED]

Address:      120 Moorgate, London, EC2M 6SS, UK.

Web Site:     http://www.cresta.net

=======================================================

 



This email and any attachments are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient please do not disclose, copy or take any action in reliance on it. If you have received this message in error please tell us by reply or telephone +44 (0)20 7448 4620 and delete all copies on your system. Any opinion, advice or information in this email are not necessarily those of the owners or officers of Cresta.

Cresta have taken reasonable precautions to ensure that any attachment to this e-mail has been swept for viruses. However, we cannot accept liability for any damage sustained as a result of software viruses and would advise that you carry out your own virus checks before opening any attachment. Please note that communications sent by or to any person through our computer systems may be viewed by other Cresta employees or officers, strictly in accordance with applicable law.

Reply via email to