Tag Archive: Tips and Tricks

Nov
07

Write Tests That Don’t Break

Join our webinar: Tips & Tricks for Unit Testing with Typemock Isolator Finding unit testing difficult to start? Want to learn how to mock the unmockable and test brownfield code? Have code that is slowing you or your dev team down? Learn tips and tricks for easier, effective unit testing. Discover how to write effective …

Continue reading »

Permanent link to this article: http://www.typemock.com/blog/2011/11/07/write-tests-that-dont-break/

Aug
16

Typemock Tutorial: Control Behavior

Raffaeu Garofalo is taking some time away from sunning in Bermuda and exploring unit testing with Typemock. In his latest article, he discusses control behaviors. He discusses how you can control the behaviors of a mock so that you do not have to control or fake the entire object if you are testing a single …

Continue reading »

Permanent link to this article: http://www.typemock.com/blog/2011/08/16/typemock-tutorial-control-behavior-2/

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 …

Continue reading »

Permanent link to this article: http://www.typemock.com/blog/2011/08/09/what-is-the-difference-between-unit-tests-and-integration-tests-2/

Aug
04

Practical Tips for Unit Testing

Willem Odendaal, a South African developer at new media labs, published a great presentation on practical tips for unit testing:He mentioned not only how to get started but when unit testing can be frustrating to the beginning tester. Watch is presentation and learn what to test,and some tips for successful testing. Use his tips with …

Continue reading »

Permanent link to this article: http://www.typemock.com/blog/2011/08/04/practical-tips-for-unit-testing-3/

Aug
04

Practical Tips for Unit Testing

Willem Odendaal, a South African developer at new media labs, published a great presentation on practical tips for unit testing:He mentioned not only how to get started but when unit testing can be frustrating to the beginning tester. Watch is presentation and learn what to test,and some tips for successful testing. Use his tips with …

Continue reading »

Permanent link to this article: http://www.typemock.com/blog/2011/08/04/practical-tips-for-unit-testing-2/

Dec
11

Enabling targeting MSTest projects to .NET 3.5 in Visual Studio 2010 SP1

Microsoft had just released Visual Studio 2010 Service Pack 1 (beta), and one of its features is allowing re-targeting Test Projects to .NET Framework 3.5. Unfortunately, not without jumping through hoops; if you try re-targeting your test project to .NET Framework 3.5, you’ll get this helpful message: The message text is not selectable, but using …

Continue reading »

Permanent link to this article: http://www.typemock.com/blog/2010/12/11/enabling-targeting-mstest-projects-to-net-3-5-in-visual-studio-2010-sp1/

Jul
19

Free Unit Testing Webinar on LIDNUG with @Typemock

  I want to quickly tell you about an upcoming live unit testing webinar, featuring Gil Zilberfeld from Typemock, that you may find valuable. Here’s the abstract: Unit Testing in the Wild You know that unit testing is good for you. But the calculator examples that you’ve read are not helpful in the real world. …

Continue reading »

Permanent link to this article: http://www.typemock.com/blog/2010/07/19/free-unit-testing-webinar-on-lidnug-with-typemock/

Mar
21

Faking LINQ to SQL DataContext Tables with Isolator

A user on the Typemock Forums asked recently about faking the tables of a LINQ to SQL data context, and supplying fake test data instead. With Isolator, faking the DataContext object is easy, all it takes is just a few lines of code, without making any additional changes to the existing design. Let’s consider the …

Continue reading »

Permanent link to this article: http://www.typemock.com/blog/2010/03/21/faking-linq-to-sql-datacontext-tables-with-isolator/

Feb
14

Links: Being Successful with Agile and unit testing

It is always nice to hear when a fellow developer succeeds and what makes these posts even better is the fact that they also contain valuable tips as well. Lessons learned from an Agile project (David Tchepak): Dave^2 writes about an agile project he’s been part of for the last 18 months – and he …

Continue reading »

Permanent link to this article: http://www.typemock.com/blog/2010/02/14/links-being-successful-with-agile-and-unit-testing/

Aug
23

Unit Testing – What not to test..

Yesterday I came across this question in StackOverflow: I have gone through a number posts on stackoverflow and numerous articles about Unit Tests. I am just trying to figure out that what I have understood is right. Do not test anything that does not involve logic. For example: If there is a method in the …

Continue reading »

Permanent link to this article: http://www.typemock.com/blog/2009/08/23/unit-testing-what-not-to-test/

Older posts «