Coding QA Podcast: Episode 27 Unit Testing With Brad Wilson

Coding QA Podcast

In this episode Matthew and Federico sit with fellow team member Brad Wilson to talk about Unit Testing. Brad is a developer in the ASP.NET team, he has a lot of experience developing using Test Driven Development and is one of the creators of the xUnit testing framework. *What is Unit Testi.

Running time
0h36m
File size
34.00MB

Download Original File | View original post

Episode synopsis

In this episode Matthew and Federico sit with fellow team member Brad Wilson to talk about Unit Testing. Brad is a developer in the ASP.NET team, he has a lot of experience developing using Test Driven Development and is one of the creators of the xUnit testing framework.

  • What is Unit Testing?
  • What is the difference between Unit Testing and Test Driven Development (TDD)?
  • Unit Testing in practice
    • How does the MVC team uses unit testing?
    • How do you arrange your tests?
    • How do you name your tests?
    • What about using internal to be able to test something?
    • What if I inherited code that didn't had unit tests?
    • How can I convince my team to adopt unit tests as a development practice

  • Addressing common concerns about Unit Testing
    • It feels like a lot of work for little value.
    • Having to rewrite a lot of tests if something in the design changes is a pain.
    • Code ends up being a lot of very small methods and I donĂ¢t like that.
  • Common pitfalls
    • Writing very big tests.
    • Testing to internal implementation.
  • Mocking
    • What does mocking mean and why is it useful?
    • What is your favorite mocking framework?
  • Resources

    You might also like...

    Comments

    Contribute

    Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

    Our tools

    We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

    “Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” - Brian Kernighan