* Cantinho Satkeys

Refresh History
  • JPratas: dgtgtr Pessoal  101041 Vamos Todos Ajudar na Manutenção do Forum, Basta 1 Euro a Cada Um  43e5r6
    03 de Julho de 2025, 19:02
  • cereal killa: Todos os anos e preciso sempre a pedir esmolas e um simples gesto de nem que seja 1€ que fosse dividido por alguns ajudava, uma coisa e certa mesmo continuando isto vai levar volta a como se tem acesso aos tópicos, nunca se quis implementar esta ideia mas quem não contribuir e basta 1 € por ano não terá acesso a sacar nada, vamos ver desenrolar disto mais ate dia 7,finalmente um agradecimento em nome do satkeys a quem já fez a sua doação, obrigada
    03 de Julho de 2025, 15:07
  • m1957: Por favor! Uma pequena ajuda, não deixem que o fórum ecerre. Obrigado!
    03 de Julho de 2025, 01:10
  • j.s.: [link]
    02 de Julho de 2025, 21:09
  • j.s.: h7t45 ao membro anónimo pela sua ajuda  49E09B4F
    02 de Julho de 2025, 21:09
  • j.s.: dgtgtr a todos  4tj97u<z
    01 de Julho de 2025, 17:18
  • FELISCUNHA: Votos de um santo domingo para todo o auditório  4tj97u<z
    29 de Junho de 2025, 11:59
  • m1957: Foi de boa vontade!
    28 de Junho de 2025, 00:39
  • j.s.: passem f.v. por aqui [link]    h7t45
    27 de Junho de 2025, 17:20
  • j.s.: renovamos o nosso pedido para uma pequena ajuda para pagemento  do nosso forum
    27 de Junho de 2025, 17:19
  • j.s.: h7t45 aos convidados de honra Felizcunha e M1957 pela ajuda
    27 de Junho de 2025, 17:15
  • j.s.: dgtgtr a todos  4tj97u<z
    27 de Junho de 2025, 17:13
  • FELISCUNHA: ghyt74  pessoal  4tj97u<z
    27 de Junho de 2025, 11:51
  • JPratas: try65hytr A Todos  classic k7y8j0
    27 de Junho de 2025, 04:35
  • m1957: Por favor vaamos todos dar uma pequena ajuda, para não deixar encerrar o fórum! Obrigado.
    26 de Junho de 2025, 23:45
  • FELISCUNHA: j.s. enviei PM  101041
    26 de Junho de 2025, 21:33
  • FELISCUNHA: try65hytr  pessoal   htg6454y
    26 de Junho de 2025, 21:33
  • JPratas: try65hytr Pessoal  4tj97u<z
    26 de Junho de 2025, 02:28
  • cereal killa: Boa Tarde Pessoal E com enorme tristeza que depois de 15 anos que idealizei e abri este fórum vejo que esta na iminência de fechar portas porque ninguém tenta ajudar o pagamento do servidor, mas cada ano e sempre difícil arranjar almas caridosas que nos bom ajudando mas este ano esta complicado, mas infelizmente e como diz o j.s dia 5/07 se não houver algumas ajudas esta vez vai mesmo fechar…..e pena e triste mas tudo na vida tem fim. obrigada cereal killa
    25 de Junho de 2025, 19:40
  • j.s.: [link]
    23 de Junho de 2025, 15:58

Autor Tópico: Learn Unit Testing with NUnit and C#  (Lida 394 vezes)

0 Membros e 1 Visitante estão a ver este tópico.

Offline mitsumi

  • Sub-Administrador
  • ****
  • Mensagens: 121842
  • Karma: +0/-0
Learn Unit Testing with NUnit and C#
« em: 13 de Maio de 2019, 17:53 »

Learn Unit Testing with NUnit and C#
.MP4 | Video: 1280x720, 30 fps(r) | Audio: AAC, 44100 Hz, 2ch | 2.94 GB
Duration: 7.5 hours | Genre: eLearning Video | Language: English
Learn unit testing, TDD, mocking and Dependency Injection: techniques that you'll need to build reliable software.

What you'll learn

    Write Unit Tests
    Run and Debug Unit Tests
    Write Manual Mocks
    Write Mocks with Mocking Framework
    Practice Test-Driven Development (TDD)
    Apply Best Practices of Writing Unit Tests

Requirements

    You should already be familiar with the basics of C#

Description

Learn deeply the concepts and tools that you will need to build maintainable and reliable software.

Teaching Approach

No fluff, no ranting, no beating the air. I esteem your time. The course material is succinct, yet comprehensive. All important concepts are covered. Particularly important topics are covered in-depth. For absolute beginners, I offer my help on Skype absolutely free, if requested.

Take this course, and you will be satisfied.   

Build a solid foundation in Unit Testing with this course   

This course is all about writing effective unit tests using C# programming language and NUnit as a unit testing framework. Along the way, we will learn the concepts related to unit testing. Today unit testing is an absolutely required skill from any professional developer. Companies expect from developers to know how to write unit tests including all the most important topics such as mocking and test driven development (TDD in short). This course does not cover all the features of NUnit. This course is way more interesting.   

Learning unit testing puts a powerful and very useful tool at your fingertips. Being familiar with unit testing you can write reliable and maintainable applications. It is very hard to lead a project which is not covered by unit tests.   

Content and Overview   

This course is primarily aimed at beginner developers. It provides solid theoretical base reinforced by tons of practical material.   

We start with basics of unit testing. What is a unit test? What unit testing frameworks exist? How to run and debug unit tests. After getting acquainted with the basics, we will get to the NUnit framework. Here you'll learn how to install the framework, set the runner. Then you'll learn the basics of assertions and arrange-act-assert triplet. Other key features of NUnit are also covered:   

    Running tests from the console   

    Setup and teardown unit tests   

    Parameterized tests   

    Grouping and ignoring   

Practicing writing of unit tests, it's impossible to avoid applying mocks. I like the word "test double" more, in general. By the way, you'll learn what the difference between the following notion is:   

    Test double   

    Fake   

    Dummy   

    Stub   

    Mock   

You'll learn how to write test doubles manually. You will also see a simple example of how to use a mocking framework for using mocks. I'll use NSubstitute mocking framework for demonstration.   

At the end of this section, you'll get acquainted with two key approaches to unit testing, Classic or Detroit School and London School of unit testing.   

You'll separately learn the basic of test-driven development. It is hard to imagine a modern professional developer who doesn't know about TDD, so you'll learn what it is and what it is about. You'll see the Red-Green-Refactor triplet in action.   

I could not complete the course avoiding the best practices of writing unit tests. You'll learn the basic concepts of the modern approach to unit testing called "pragmatic unit testing". You'll see what problems static classes and singletons bring regarding the unit testing. They make code harder to unit test. After that, you'll learn the problem of extracting interfaces just for the sake of introducing shims for injecting dependencies.   

You'll know should you write unit tests for the trivial code. You'll learn a lot more in the course.   

So, in short, the course covers the following topics:   

    Basic notions of Unit Testing   

    NUnit and its features   

    Test Doubles including fakes, dummies, stubs, spies and mocks   

    How to write manual test doubles and how to use a mocking framework  (NSubstitute)

    TDD, red-green-refactor triplet   

    A great number of best practices of writing unit tests   

    Introduction to Dependency Injection

In the end, we will recap what you have learned, and you will try to understand where you have to go further with the intention to master your skills.   

How                                                                                                                                                                                                long is this course: The course is around 7.5 hours. All are video lectures. You will be able to download all the slides and code samples used in the course.         

Keywords related to the course:

    Visual Studio unit testing tutorial

    NUnit unit testing tutorial

    Dot Net testing framework

    C# unit test framework

    Visual Studio unit testing framework tutorial

    csharp unit testing tutorial   

    TDD in C#

    NSubstitute

    TDD

    Test Driven Development

    unit testing C#

Who this course is for:

    Beginners who want to write better code
    Anyone who is interested in Unit Testing
           

               

Download link:
Só visivel para registados e com resposta ao tópico.

Only visible to registered and with a reply to the topic.

Links are Interchangeable - No Password - Single Extraction