The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,470 other followers

Archive for the ‘Unit Testing’ Category

Testing and static methods don’t go well together

Posted by jpluimers on 2016/08/16

A few links as, in code I’ve inherited, I see way too many static methods hindering testing:

–jeroen

Posted in Agile, Development, Software Development, Unit Testing | 1 Comment »

TDD: all unit tests passed.

Posted by jpluimers on 2016/08/02

TDD via Dave Hulbert on Twitter: “Yay, all unit tests passing! http://t.co/ax2uxPsZqv”.

Dave Hulbert on Twitter:

Dave Hulbert on Twitter: “Yay, all unit tests passing! http://t.co/ax2uxPsZqv”.

 

Posted in Agile, Development, Fun, Software Development, Unit Testing | Leave a Comment »

Martin Fowler’s “Mocks Aren’t Stubs” – recommended reading

Posted by jpluimers on 2016/03/31

A classic read about Test Doubles: Martin Fowler’s Mocks Aren’t Stubs.

–jeroen

Posted in Agile, Development, Software Development, Unit Testing | Leave a Comment »

nunit – How can I view .NET trace logs in TeamCity? – Stack Overflow

Posted by jpluimers on 2016/02/23

This indeed works very well:

All console output is shown in the build log.

So when you need more context on tests that succeed, you can just output them on the Console.

A practical use: testing the sending of SMS messages over HTTPS where the intermediate proxy can change and was giving different effects.

Logging the actual proxy used correlated some run-time findings. Based on that we could write better tests.

–jeroen

via: nunit – How can I view .NET trace logs in TeamCity? – Stack Overflow.

Posted in .NET, Agile, C#, Continuous Integration, Development, MSTest, Software Development, TeamCity, Testing.NET, Unit Testing, VSTest | Leave a Comment »

Some links on DUnit test cases and test suites, XML and XSD

Posted by jpluimers on 2015/12/17

DUnit registration can mix TestSuites and TestCases.

Some links:

–jeroen

 

 

 

 

Posted in Agile, Delphi, Delphi 10 Seattle, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 5, Delphi 6, Delphi 7, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Delphi XE8, Development, Software Development, Unit Testing | Leave a Comment »

 
%d bloggers like this: