Rethinking Unit Testing in C++
Published August 25th, 2010 Under Software Testing, Unit Testing | Leave a Comment
Kevlin Henney explores the typical styles used for C++ unit-testing frameworks before going on to look at other possibilities that are more likely to encourage programmer testing and higher quality unit tests. From the raw use of the assert macro, to xUnit-style frameworks, to more natively C++-style frameworks and then onto a specification-centric approach that abandons functions as the basic unit of test case decomposition. The technical and practitioner pros and cons of each approach are examined.
Watch this video on Skillsmatter.com
The Tough Questions About Testing
Published August 25th, 2010 Under Unit Testing | Leave a Comment
Unit testing is a part of Test-Driven Development, but TDD is not only about Unit testing. In TDD, you usually write tests before you write any application code, and these test serve as documentation. However, Behavior-Driven development is a less well-defined term. Some contrast BDD and TDD while others say that they’re they are like two sides of the same coin. Bob Silverberg discusses Test-Driven Development and Unit testing and says that the two techniques sometimes get confused with one another
Video source: Dzone.com
Devs Are From Mars. SETs Are Too.
Published August 23rd, 2010 Under Software Testing | Leave a Comment
Simon Stewart presents the activity of Google’s Engineering Productivity team and the role Software Engineers in Test (SETs) play in helping software developers to make their code more maintainable, recommending some of their tools: Gold linker, Eclipse, distcc, JDepend, graphviz.
http://www.infoq.com/presentations/Devs-Are-From-Mars-SETs-Are-Too
Comparing FitNesse, Cucumber and keywords for Domain Specific Test Languages
Published August 19th, 2010 Under Functional Testing | Leave a Comment
FitNesse, BDD/ATDD based tools (like Cucumber) and various keywords based tools each have their followers when it comes to automated testing at the system or acceptance level. But few have tried each type and many are wondering which one best suits their organisation, project or product. The concept of Domain Specific Test Languages (DSTL) is a great improvement over record & playback based approaches to automated testing and promises easy to read & write tests in the language of the business and low maintenance effort. This interactive session first presents DSTLs and how they fit in an Agile process & team and then considers how each type of tool supports this effective approach to automated testing. The tools will be compared using one non-trivial test case, to illustrate some of their strengths and limitations
Watch this video on Skillsmatter.com
Test-Driven Development – From Painful to (Near) Zero Friction
Published August 17th, 2010 Under Unit Testing | Leave a Comment
Matt Honeycutt doesn’t like development friction and especially testing friction. Over the last several years, his approach to test-driven development and the style of test cases he creates have changed drastically in an effort to eliminate testing frication. In these screencasts, he uses TDD to implement a class in RageFeed. Starting with very coarse, high-friction unit tests, they will show you how you can gradually reduce the friction by creating better tests. Finally, you will see how easy it is to create clean, readable, specification-style tests in RageFeed today.
Watch these videos on TryCatchFail.com
« previous page — next page »