I am working with a class that has lots of properties. For example; public class Bib { public int PartQty { get; set; }
We are starting to develop a new website using Rails 3, RSpec 2, and OmniAuth 2. We wanted to follow TDD using RSpec to write the authentication, but we actually don\'t know where to start. We don\'t
I want implement a method which tells me if the coordinates (x and y) are out of bounds. How many tests should I write? To me it seems to be 5:
I\'m new to DDD (Domain-Driven Design), and I like many of it\'s ideas. But with DDD I need to spend pretty much time analyzing domain, defining entities and value objects, choosing aggregates and def
how can I use TDD with MongoDB as my second database? Thanks Edit: Using Rspec or anything else that a开发者_StackOverflowllows me to test it.[Update]
In a rails app, if I use a different request format for mobiles. e.g. render *.mob开发者_如何学Goile.erb. What are the best practices to write tests for this? I use RSpec and can\'t find information o
I\'m very new to doing any type of testing, but I\'ve done a little reading and it seems like its a great way to go. I love the idea of being able to just click a button and ensure that the codebase i
using System; using System.Xml.Serialization; using System.IO; namespace Mailer { public class ClientConfiguration {
Lets say we have method to test in class A that calls method from class B. To test it we created mock for B and then verify if it was called. Is verify(...) enough for unit test or I need assert actua
Testing the UI has always been one of the difficulties in TDD, but I had gotten the impression that with the Razor ViewEngine in MVC3, it was possible to get the output that would be rendered for a pa