All Questions
Tagged with testing unit-testing
6,647
questions
3
votes
6
answers
868
views
TestDriven.Net doesn't find tests
I have a test project using MbUnit and TestDriven.Net.
If I right-click on an individual test method and say "Run Tests" the test runs successfully. Same thing if I click on a file name in the ...
25
votes
10
answers
11k
views
.NET Testing Naming Conventions [closed]
What are the best conventions of naming testing-assemblies in .NET (or any other language or platform)?
What I'm mainly split between are these options (please provide others!):
Company.Website - ...
963
votes
31
answers
555k
views
Unit Testing C Code [closed]
I worked on an embedded system this summer written in straight C. It was an existing project that the company I work for had taken over. I have become quite accustomed to writing unit tests in Java ...
41
votes
6
answers
26k
views
How do I use PHPUnit with Zend Framework?
I would like to know how to write PHPUnit tests with Zend_Test and in general with PHP.
201
votes
31
answers
88k
views
Disadvantages of Test Driven Development? [closed]
What do I lose by adopting test driven design?
List only negatives; do not list benefits written in a negative form.
22
votes
5
answers
2k
views
Pex users: what are your Impressions of Pex and Automated Exploratory Testing in general?
Those of you who have used Pex, what do you think its advantages and disadvantages are of Pex as a tool?
Also, what do you think are the advantages and disadvantages of "Automated Exploratory Testing"...
1
vote
1
answer
1k
views
What is this Icarus thing that comes with MbUnit?
I've had to install MbUnit multiple times now and it keeps coming with something called the
Gallilo Icarus GUI Test Runner
I have tried using it thinking it was just an update to the MbUnit GUI but ...
10
votes
4
answers
2k
views
How do I become "test infected" with TDD? [closed]
I keep reading about people who are "test infected", meaning that they don't just "get" TDD but also can't live without it. They've "had the makeover" as it were. The question is, how do I get like ...
6
votes
3
answers
2k
views
Automated Unit Testing Gen Tools for .NET
Looking to get your take on an automated testing tool (voting should bring good ones to the top)
Ideal tool would:
Eliminate the need to present a set
of values to a method.
employ techniques such ...
10
votes
3
answers
4k
views
Unit testing with network-reliant code
I'm trying to be better about unit testing my code, but right now I'm writing a lot of code that deals with remote systems. SNMP, WMI, that sort of thing. With most classes I can mock up objects to ...
129
votes
13
answers
53k
views
What's a good way to overwrite DateTime.Now during testing?
I've got some (C#) code that relies on today's date to correctly calculate things in the future. If I use today's date in the testing, I have to repeat the calculation in the test, which doesn't feel ...
25
votes
4
answers
31k
views
Whats the best way to unit test from multiple threads?
this kind of follows on from another question of mine.
Basically, once I have the code to access the file (will review the answers there in a minute) what would be the best way to test it?
I am ...
6
votes
5
answers
1k
views
Rigor in capturing test cases for unit testing
Let's say we have a simple function defined in a pseudo language.
List<Numbers> SortNumbers(List<Numbers> unsorted, bool ascending);
We pass in an unsorted list of numbers and a boolean ...
109
votes
24
answers
11k
views
How to make junior programmers write tests? [closed]
We have a junior programmer that simply doesn't write enough tests.
I have to nag him every two hours, "have you written tests?"
We've tried:
Showing that the design becomes simpler
Showing it ...
94
votes
12
answers
62k
views
How to set up unit testing for Visual Studio C++
I'm having trouble figuring out how to get the testing framework set up and usable in Visual Studio 2008 for C++ presumably with the built-in unit testing suite.
Any links or tutorials would be ...