"Vi hjelper deg å nå dine kompetansemål i 2017"


Test Driven Development in .NET

Kursavgift: kr 17 900 | Varighet: 3 dager

Beskrivelse:

All developers want to build good quality software but not all developers test their software as they go along. Why not? A common explanation is I do not have time to write tests!. The more pressure they feel, the fewer tests they write. This leads to less accurate and stable code, less productivity, less confidence and, ultimately, more pressure. It is a vicious cycle.

This course is designed to help you break out of the cycle by embracing unit-testing and, in particular, test-driven development. We will introduce the techniques and the tools necessary to prove your code as you go along. The course can be run using C# or VB.

what you will learn
  • Understanding TDD principles
  • Writing effective unit tests
  • Refactoring code
  • Implementing Inversion of Control (IoC)
  • Using mocking frameworks
This course is designed and written by Andy Olsen.
Andy is a freelance consultant and instructor based in the UK, working mostly in the City of London and Oxford. Andy has been working with .NET since the Beta 1 days and has extensive experience in many facets of .NET development including WCF, WPF, WF, ASP.NET MVC Web development, and mobile applications. Andy has designed and written many Microsoft Official Curriculum courses in the last decade, and has been engaged as author and technical reviewer with Apress on some of their biggest selling books.


Forkunnskaper:

  • At least 6 months experience in C# or VB


Innhold:

Overview of Test-Driven Development
  • Test, code, refactor, repeat
  • The benefits of TDD
  • The process of TDD
  • Tools available
Unit testing basics
  • Getting started with unit testing using Test Explorer in Visual Studio
  • Structure of a unit test
  • Using assertions
  • Dealing with exceptions
  • Using MS Test Extensions
  • Additional techniques
Additional testing techniques
  • Using NUnit
  • NUnit constraint syntax
  • NUnit data-driven design
  • Code coverage
Refactoring
  • The need for refactoring
  • Types of refactoring
  • Guidelines and recommendations
  • Creating layered designs
  • Using dependency injection
Inversion of control
  • Overview of IoC
  • Using factories
  • Using IoC containers
  • Using a configuration file
Test doubles and mocking
  • Principles and techniques
  • Getting started with RhinoMocks
  • Working with mock objects
  • Additional techniques and considerations
Testing legacy code
  • Where to start
  • Adding new behaviour
  • Finding change points
  • Breaking dependencies



Bestill kurset her

arrow

Velg kurssted

    arrow

    Velg dato




    kurs merket med * har startgaranti

    arrow

    Mailen er sendt:

    Ditt tips er registrert og sendt!
    Vi håper snarlig å se deg på kurs hos oss!

    Feilmelding:

    OBS! Vi har problemer med å sende ditt tips!

    Vi anbefaler deg å sjekke om du har skrevet inn en gyldig mailadresse.

    Tips sjefen

    Lyst til å delta på dette kurset, men må overbevise sjefen først?

    Glasspaper har laget en tips funksjon, som gjør det enklere for deg å overbevise din sjef om at dette kurset er perfekt for deg.
    Det eneste du trenger å gjøre er å fylle ut kontaktinformasjon, så sender vi relevant informasjon om kurset rett til dine utvalgte kontaktpersoner.
    Bruk gjerne funksjonen til å tipse venner og kollegaer om at dette er et nyttig kurs for dem





    Kontakt oss

    Kursansvarlig

    Henning Solberg

    93 09 01 29

    henning@glasspaper.no


    Glasspaper er kåret til Årets Microsoft Kurspartner 2015 - 2014 - 2013 - 2012 - 2011 - 2010 - 2008!