Top "Tdd" questions

Test-Driven Development (TDD) involves writing a failing automated test to specify what is to be built.

How do I test a private function or a class that has private methods, fields or inner classes?

How do I unit test (using xUnit) a class that has internal private methods, fields or nested classes? Or a …

java unit-testing tdd
JavaScript unit test tools for TDD

I've looked into and considered many JavaScript unit tests and testing tools, but have been unable to find a suitable …

javascript unit-testing tdd
How to verify that a specific method was not called using Mockito?

How to verify that a method is not called on an object's dependency? For example: public interface Dependency { void someMethod(); } …

java tdd mockito
How do you unit test private methods?

I'm building a class library that will have some public & private methods. I want to be able to unit …

.net unit-testing tdd private
C# "internal" access modifier when doing unit testing

I'm new to unit testing and I'm trying to figure out if I should start using more of internal access …

c# .net unit-testing tdd
How do I mock a class without an interface?

I am working on .NET 4.0 using C# in Windows 7. I want to test the communication between some methods using mock. …

c# mocking tdd
How deep are your unit tests?

The thing I've found about TDD is that its takes time to get your tests set up and being naturally …

unit-testing tdd
How do you know what to test when writing unit tests?

Using C#, I need a class called User that has a username, password, active flag, first name, last name, full …

c# unit-testing tdd
NUnit Test Run Order

By default nunit tests run alphabetically. Does anyone know of any way to set the execution order? Does an attribute …

.net attributes tdd nunit
Disadvantages of Test Driven Development?

What do I lose by adopting test driven design? List only negatives; do not list benefits written in a negative …

unit-testing testing tdd