Questions tagged [dot-net]

The .NET framework is a software framework (designed mainly for the Microsoft Windows operating system). It includes an implementation of the Base Class Library (BCL), Common Language Runtime (CLR), and Dynamic Language Runtime (DLR). It supports many programming languages, including C#, VB.NET, F# and C++.

Filter by
Sorted by
Tagged with
0
votes
1answer
1k views

Best practices for exception handling with Selenium

I've been searching on google for best practices regarding exception handling, however I did not have much success besides using try-catch. My framework is set with a EventFiringWebDriverwhich, ...
1
vote
4answers
363 views

Which .NET test frameworks/runners support attaching files (such as a screenshot) to the test report?

I want to attach an HTML document to any test case that is about to fail. I can do this if I use Gallio test runner, but it doesn't integrate well with Visual Studio or TFS. According to Microsoft's ...
3
votes
4answers
1k views

Good resource on how to write dot net unit test cases?

I am looking for good resources on how to write good unit test cases in C#/Dot Net. Books, resources on the net or simply good advises. In particular the unit cases should give good code coverage and ...
8
votes
3answers
207 views

USB storage emulator

I need to emulate insertion and removal of SD cards to write tests. What is the best way/tool to implement it in .NET?
4
votes
1answer
520 views

Using FitNesse with .Net across multiple servers

My previous work involved writing embedded Linux code. We used a couple of the embedded devices in a test harness, a Linux PC and the Windows Perforce repository. The Linux PC ran an instance of ...
6
votes
2answers
3k views

Writing automated tests for System.Web.HttpApplication

I am currently using Moq to write automated tests for System.Web.HttpApplication in C#: public FakeHttpApplication CreateBaseMocks() { MockContext = new Mock<HttpContextBase>(); ...