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: testing
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
30
Discover 10 Secret Unit Testing Tips to Become Agile
In this webinar, Typemock’s Product Manager gives 10 tips for successful unit testing and Agile software development in honor of the 10th anniversary of the Agile manifesto. Learn the 10 secrets to unit testing success. Share this post and spill the secrets.
Permanent link to this article: http://www.typemock.com/blog/2011/08/30/discover-10-secret-unit-testing-tips-to-become-agile/
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/
Oct
13
How-To: Faking Private Methods with Isolator++
In many cases, the dependency we’re trying to get around is not in another class, but in the one we’re trying to test. To make things worse, this method is sometimes inaccessible. When that happens, we need to fake the private method, leaving the rest of the object intact. And we can do this easily …
Permanent link to this article: http://www.typemock.com/blog/2010/10/13/how-to-faking-private-methods-with-isolator/
Oct
11
How-To: Asserting A Method Was Called With Isolator++
Many times, when we come to determine a test pass/fail criterion, we use some sort of ASSERT statement. ASSERT usually tests for state – checking on field values, to determine if that value is the expected one. However, sometimes we don’t have this luxury. The state may not be exposed, or the class members are …
Permanent link to this article: http://www.typemock.com/blog/2010/10/11/how-to-asserting-a-method-was-called-with-isolator/
Oct
06
Announcing: Isolator++ Has Launched!
After months of beta testing, we’ve arrived at that pivotal moment: We’ve released Isolator++! Isolator++ is the first tool Typemock offers the C++ developer community. It’s the first step we take to bring easy unit testing to developers in all languages. Isolator++ makes unit testing easy in a field where software development as a whole …
Permanent link to this article: http://www.typemock.com/blog/2010/10/06/announcing-isolator-has-launched/
Aug
26
Debugging the Undebuggable
I bumped up against an interesting problem today. I was trying to write a unit test for our CRM code (I’ll write about my endeavor in a another post). Anyway, I was trying to test a method (a WebMethod, actually) that was inside a class, which was inside an asmx file. Strangely enough, I never …
Permanent link to this article: http://www.typemock.com/blog/2010/08/26/debugging-the-undebuggable/
Jul
20
Finding bugs? I’ve got customers for that!
I read about bug bounty in a couple of articles. This is a prize for people who find critical bugs in software, and the focus is about security. Both Google and Mozilla put a lot of focus about security, making the user feel secure. A noble cause indeed. Do you see something wrong with this …
Permanent link to this article: http://www.typemock.com/blog/2010/07/20/finding-bugs-i%e2%80%99ve-got-customers-for-that/
