since the dao layer methods will be dependent on data in the database, in complex systems some operations will depend on lots of tables,
Assume: VS2010, .NET 4, C#, NUnit, Moq I am new to TDD and came across this issue while working through a project.
In the course of a TDD session, suppose I write a failing test, and then make it pass. I refactor by extracting code out of the original Unit, using refactorings such as Extract Class and Move Method.
This is in part a followup to this question. I\'m not sure the best way to ask this, so I\'ll try a short story to set the scene:
I\'m trying to test an android project. I\'m using intellij IDEA. So far everything goes perfect. My problem arises when I try to use a different xml resource file for the tests (with specific data f
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing
I\'m wondering what the best practices are in Test Driven Development / testing using unit tests when it comes to increasing features.
I\'m searching for a solution for a weird problem. I have a controller, that needs authentication (with the devise gem). I added the Devise TestHelpers but i can\'t get it working.
UPDATE: I made major changes to this post - check the revision history for details. I\'m starting to dive into TDD with NUnit and despite I\'ve enjoyed checking some resources I\'ve found here at sta
How can I fake the current_user method to stop my cucumber tests failing? Something like a Given /^I am logged in$/ step.