above 1:2 is a smell, above 1:3 is a stink." • "You’re probably doing it wrong if testing is taking more than 1/3 of your time. You’re definitely doing it wrong if it’s taking up more than half." http://37signals.com/svn/posts/3159-testing-like-the-tsa Saturday, June 23, 12
for tests, so my philosophy is to test as little as possible to reach a given level of confidence (I suspect this level of confidence is high compared to industry standards, but that could just be hubris). http://stackoverflow.com/questions/153234/how-deep-are-your-unit-tests Saturday, June 23, 12
for production code (DRY, SOLID, design patterns) • Much testing talk stays on the quantitative level - what is our “coverage”? • Instead, what are some test concepts that help to make our code more “habitable”? Saturday, June 23, 12
software. It enables developers to live comfortably in and repair or modify code and design. Patterns of software: Tales from the Software Community Richard Gabriel Saturday, June 23, 12
don’t stub - only relate to your system by the endpoints • If tests are unit tests, don’t integrate - make your objects’ relationships to others clear by mocking Saturday, June 23, 12
both unit tests and integration tests, and choose one or the other • You should not be afraid to delete tests • How many things fail when you change one piece of code? Saturday, June 23, 12
in Ruby • Good for “harder” dependencies of classes • Provide default so that other classes don’t have to specify the dependency, and provide a mock in your tests Saturday, June 23, 12
worked on, one single bug caused 124 tests to fail. I was so perplexed that I couldn't figure out which bridge to jump from. Alexandre de Oliveira - http://alexsquest.com/texts/1 Saturday, June 23, 12
general. There’s massive amounts of data floating around, and the kinds of problems that we’re trying to solve are much sloppier, and the solutions a lot less discrete than they used to be. Gerald Sussman http://cemerick.com/2009/03/24/why-mit-now-uses-python-instead-of-scheme-for-its- undergraduate-cs-program/ Saturday, June 23, 12