Listening to Test Smells
Published February 18th, 2010 Under Software Testing, TDD | Leave a Comment
This talk is about how to use the stresses of writing unit tests to improve your code. If I’m having trouble writing tests, it’s often because the design of my target code can be improved. The trick is to listen to the tests and let them drive my development — that’s a hint as to why it’s called Test-Driven Development. As a developer, you can sensitise yourself to find the rough edges in your tests and use them for rapid feedback about how to improved the design of your code. In this talk, I will work through examples of “smelly” tests, showing how they highlight design flaws and suggest improvements.
Watch this video on JavaZone (click on “Presentation”)
Easy and Maintainable Enterprise Testing with Unitils
Published February 10th, 2010 Under Agile, Software Testing | Leave a Comment
Unit testing has become a mainstream task. Most developers do it. Most project leaders and architects expect their team to write tests. However, practice has taught us that a lot of teams write few tests, or spend too much time writing and maintaining them. Different development teams make common mistakes, run into similar issues and find their own solutions for them. This costs a lot of valuable time. Unitils started in 2005 and has emerged from concrete experience and lessons learned, with the ultimate goal of making unit testing easy, effective and maintainable. Unitils offers a lot of support in testing the database layer: automatic maintenance of test databases, automatic post-processing of the database to make it more test-friendly, loading test data using DbUnit and verifying the contents of the database after execution of a test. Unitils provides specific support for testing with JPA or hibernate, and offers integration with spring. It makes abstraction of the testing framework that is used for executing the tests, making it useable with JUnit3, JUnit4 or TestNG. But Unitils is not limited to persistence layer testing only: The reflection assert utility is a very useful alternative to the classic assertEquals method with a range of leniency options. Unitils also provides superior support for dynamic mock objects, offering a simple syntax for specifying method behavior and verifying expectations. This talk will present the different features of Unitils using simple, concrete examples.
Watch this video on JavaZone (click on “Presentation”)
Automated Unit Testing with Palm Mojo SDK
Published January 20th, 2010 Under Software Testing | Leave a Comment
In this webcast we’ll introduce Behavior Driven Development (BDD) and Jasmine (a BDD framework for JavaScript); install Jasmine and add related code to the app to support BDD; discuss how to write a failing test first, then add functionality to make a test pass; and finally we’ll develop a simple webOS application test first, with the Mojo SDK.
Fast Track Test-Driven Development: Testify Your Project
Published November 9th, 2009 Under Software Testing, TDD | Leave a Comment
This video presents the technical challenges that teams discover when adopting TDD difficult and a set of principles for successful TDD. it contains a demonstration of the Testify tool and how to use it to introduce TDD on your own project.
http://skillsmatter.com/podcast/agile-scrum/fast-track-test-driven-development-testify-your-project
Test Driving GUI with Approval Tests
Published October 30th, 2009 Under Software Testing | Leave a Comment
This video shows why you want to write unit tests for the perspectives of specifications, feedback, regression & granularity. Then write a GUI in C# using Windows Forms & Approval Tests. ApprovalTests is an open source tool that supports C#, Java, Ruby for unit or acceptance tests.
Improving on Unit Tests with Sonar
Published September 29th, 2009 Under Agile | Leave a Comment
Sonar enables to collect, analyze and report metrics on source code. Sonar not only offers consolidated reporting on and across projects throughout time, but it becomes the central place to manage code quality. This screencast shows how to use Sonar to manage unit tests by checking their results. When you are done, you can verify that components are properly covered.
Isolation Frameworks: Mocking Out/Ref Arguments
Published September 7th, 2009 Under Software Testing | Leave a Comment
In this episode we are going to continue our series on learning how to use an isolation framework (Rhino Mocks) to help create simpler and more reliable unit tests. We are going to focusing this episode on how to setup you mocks when you need to mock a class with either Out or Ref arguments.
http://www.dimecasts.net/Content/WatchEpisode/138
TDD: Code without Fear
Published August 31st, 2009 Under Software Testing, TDD | Leave a Comment
This demo on test-driven development (TDD) is for the beginner who would like to learn and see TDD in action. Come watch as Christian not only shows the rythm of TDD, but also how it helps to make refactoring code a pleasant experience.
Interaction Based Testing with Rhino Mocks
Published August 28th, 2009 Under Software Testing | Leave a Comment
Beyond the simplest scenarios, all objects had collaborators that they work with. This flies in the face of testing objects in isolation. This is the problem that mock objects were created to solve. In this talk you will learn what mock objects are, how to utilize them and best practices on when / how to utilize them. Rhino Mocks is a mock objects framework for .Net whose core goals are to let the developer rely on the compiler work well with refactoring tools.
The Synergy of Code Contracts and Pex
Published August 26th, 2009 Under Coding, Software Testing | Leave a Comment
Manuel Fähndrich and Peli de Halleux sit down for a quick coding session that shows how to use Code Contracts and Pex together. Code Contracts can be used to specify what your code should do, they get turned into runtime checks which Pex can analyze and try to find counter-examples for. This was a fun session with Manuel and really shows the synergy of the two tools/approaches.
« go back — keep looking »
RSS
Twitter