Last webinar, “10 secret unit testing tips” was a blast. There were many questions, some I’ve answered. But then I’ve looked at the clock, and discovered I neglected to answer a few. And since I’m a a man of my word (most of the time), here are the rest of the questions and comments and …
Tag Archive: Methodology
Permanent link to this article: http://www.typemock.com/blog/2011/09/01/%e2%80%9cwhy-too-much-mocking-is-bad%e2%80%9d-and-other-questions/
Aug
23
How To Name Your Tests Effectively
This is secret unit testing tip #5. Want more? Register to the webinar. What are tests for? (if you still think that the question is stupid after reading this, let me know in the comments). Obviously they are there to protect you from bugs. When a bug creeps in, the tests will catch it, and …
Permanent link to this article: http://www.typemock.com/blog/2011/08/23/how-to-name-your-tests-effectively/
Aug
15
Unit Testing is a Team Sport
This is secret unit testing tip #7. Want more? Register to the webinar. Anyone can do unit testing. It’s a skill that needs to be learned and practiced and improved over time, and anyone can start writing unit tests today. As you and I know, it’s well worth the effort. But is it sustainable? Gil’s …
Permanent link to this article: http://www.typemock.com/blog/2011/08/15/unit-testing-is-a-team-sport/
Aug
09
What is the difference between unit tests and integration tests?
This is secret unit testing tip #4. Want more? Register to the webinar. Many people who start out writing tests get hung out the semantic difference. What is a unit? When does a unit test cross the border to integration land? Is it a narrow border or a wide plateau between them? For me, it’s …
Permanent link to this article: http://www.typemock.com/blog/2011/08/09/what-is-the-difference-between-unit-tests-and-integration-tests-2/
Feb
04
How many tests do we have for Isolator?
we’re big fans of using FinalBuilder and TeamCity, and we’re big fans of testing and continuous integration as well, so it’s only fitting that you see a sneak peek at what our continuous and nightly build runs contain in terms of testing: yep, about 10,500 tests for the nightly build.
Permanent link to this article: http://www.typemock.com/blog/2010/02/04/how-many-tests-do-we-have-for-isolator/
Mar
29
How to check Exception message using MS Test
In Typemock we use both NUnit and MSTest to run our unit tests. This practice enables us to check that Isolator works fine on both unit testing framework. Most of NUnit attributes can be translated fully into MSTest attributes (and vise-versa) there is one attribute we tend to use that works differently in MSTest – …
Permanent link to this article: http://www.typemock.com/blog/2009/03/29/how-to-check-exception-message-using-ms-test/
Mar
05
The Cost of Test Driven Development
Test Driven Development (TDD) is well known and practiced methodology that reduce the amount of defects introduced during the coding stage of the development process. It is hard to determine how much money using TDD saved for an organization. After searching the web for research I found a paper on the subject titled: Realizing quality …
Permanent link to this article: http://www.typemock.com/blog/2009/03/05/the-cost-of-test-driven-development/
Jan
21
Avoiding Fragile Tests – Drawing the Line
Isolation frameworks are intrusive by nature. Yes, Isolator included. That means, they have “knowledge” of the code inside the component under test. Big surprise there, right? One the major detriments for people who have already ventured into the land of unit-testing is cost of test maintenance. It could be that the tests are not unit-testy …
Permanent link to this article: http://www.typemock.com/blog/2009/01/21/avoiding-fragile-tests-drawing-the-line/
Jan
10
Looks good in Retrospective
About Stress Running a software project is an inherently stressful process. Even if we try to minimize that by working in an agile environment, there are always things along the way that make us want to go lie under a thick layer of blankets and zone out for a while. There are many possible reasons …
Permanent link to this article: http://www.typemock.com/blog/2009/01/10/looks-good-in-retrospective/
Dec
17
Starting Test Driven Development using Typemock Isolator – Part 1
There are a lot of good tutorials on how to start Test driven development (TDD) that help understanding how he can start using this software development methodology. Unfortunately most of those tutorials explain how to write simple unit test to test some imaginary class and do not explain using mocking frameworks as part of the …
Permanent link to this article: http://www.typemock.com/blog/2008/12/17/starting-test-driven-development-using-typemock-isolator-part-1/
