Unit Testing for C#/.NET Developers in Practice

Learn how to write unit tests, good quality code and build reliable applications
Unit Testing School
We have already been trusted by 614 developers, including:
Zero negative opinions!

What are the benefits of unit testing?

Creating unit tests has many advantages, especially in the context of software development.

Here are the most important ones:

Early error detection.

Fewer errors in production.

More confidence in refactoring

Improved code quality.

Reduced debugging time.

Easier to maintain and develop.

Code documentation.

Creating good automated tests is the responsibility of every developer.

INTRODUCING UNIT TESTING SCHOOL

Unit Testing School - Unit Testing For C#/.NET Developers - Training

Unit Testing School is a complete online training in which you will learn the entire process of writing Unit Tests in C#/.NET.

We start with the basics and end with advanced testing in ASP.NET Core applications.

In this training, we focus mainly on practice. We will create unit tests for real applications. I will show you how to write unit tests for Windows Forms, WPF, Blazor, ASP.NET Core MVC and ASP.NET Core Web API applications.

You will also learn how to create Integration Tests and the TDD technique.

Throughout the entire training, you will work under the supervision of a trainer. You will be in constant contact.

TRAINING DESCRIPTION

STRATEGY
  • Lesson 1: Welcome
  • Lesson 2: Game Plan
  • Lesson 3: Requirements
  • Lesson 4: Final Effect
  • Lesson 5: How to Study?
  • Lesson 6: Homework
THEORY - BASICS OF AUTOMATION TESTING
  • Lesson 1: Welcome
  • Lesson 2: Automated Testing
  • Lesson 3: Test Pyramid
  • Lesson 4: Unit Tests
  • Lesson 5: Integration Tests
  • Lesson 6: Beginners' Mistakes
  • Lesson 7: Homework
WORRIES
  • Lesson 1: Welcome
  • Lesson 2: Why Do So Few Companies Write Automated Tests?
  • Lesson 3: How to Convince Businesses to Start Writing Tests?
  • Lesson 4: Who Should Write Tests?
  • Lesson 5: What Not to Test?
  • Lesson 6: What to Test?
  • Lesson 7: How to Test Legacy Code?
  • Lesson 8: Test First Or Code First? Introduction To TDD
  • Lesson 9: What Should Be the Optimal Test Code Coverage?
  • Lesson 10: How to Write Code to Make It Easy to Test?
  • Lesson 11: My Examples
  • Lesson 12: Homework
HOW TO WRITE UNIT TESTS?
  • Lesson 1: Welcome
  • Lesson 2: How Do Programmers Test Their Code?
  • Lesson 3: What Testing Framework?
  • Lesson 4: NUnit vs MSTest vs xUnit
  • Lesson 5: Naming Conventions
  • Lesson 6: AAA - Arrange, Act, Assert
  • Lesson 7: Running the First Unit Test
  • Lesson 8: Debugging Tests
  • Lesson 9: FluentAssertions
  • Lesson 10: How Many Assertions Per Test?
  • Lesson 11: Beginners' Mistakes
  • Lesson 12: Homework
TESTING TECHNIQUES IN NUNIT
  • Lesson 1: Welcome
  • Lesson 2: SetUp and TearDown
  • Lesson 3: Parameterized Tests
  • Lesson 4: Initialization Methods
  • Lesson 5: Create Tests Faster
  • Lesson 6: Testing Methods That Return a Value
  • Lesson 7: Void Testing
  • Lesson 8: String Testing
  • Lesson 9: Testing Collection
  • Lesson 10: Exception Testing
  • Lesson 11: Event Testing
  • Lesson 12: Checking If We're Testing the Right Thing
  • Lesson 13: Private Method Testing
  • Lesson 14: Beginners' Mistakes
  • Lesson 15: Homework
PRACTICE - LEVEL 1
  • Lesson 1: Welcome
  • Lesson 2: Exercise - FizzBuzz Algorithm
  • Lesson 3: Solution - FizzBuzz Algorithm
  • Lesson 4: Exercise - MyQueue
  • Lesson 5: Solution - MyQueue
  • Lesson 6: Exercise - Tic-Tac-Toe
  • Lesson 7: Solution - Tic-Tac-Toe
  • Lesson 8: Beginners' Mistakes
  • Lesson 9: Homework
MOCKING
  • Lesson 1: Welcome
  • Lesson 2: Getting Rid of External Dependencies
  • Lesson 3: What Is Mocking? What to Mocking?
  • Lesson 4: Mocking Division
  • Lesson 5: First Test with Mocking
  • Lesson 6: Moq Imperative vs Declarative Syntax
  • Lesson 7: Beginners' Mistakes
  • Lesson 8: Homework
PRACTICE - LEVEL 2
  • Lesson 1: Welcome
  • Lesson 2: Exercise - ConfigHelper
  • Lesson 3: Solution - ConfigHelper
  • Lesson 4: Exercise - Robot
  • Lesson 5: Solution - Robot
  • Lesson 6: Exercise - TaskService
  • Lesson 7: Refactoring - TaskService
  • Lesson 8: Solution - TaskService
  • Lesson 9: Homework
UNIT TESTING IN ASP.NET WEB API
  • Lesson 1: Welcome
  • Lesson 2: Getting to know the OrdersManager application
  • Lesson 3: Testing Controllers
  • Lesson 4: Homework
  • Lesson 5: Testing Services
  • Lesson 6: Homework
  • Lesson 7: Testing the Repository (DbContext), Part 1
  • Lesson 8: Testing the Repository (DbContext), Part 2
  • Lesson 9: Homework
  • Lesson 10: Business logic testing
  • Lesson 11: Summary
BONUS: ASP.NET WEB API INTEGRATION TESTING
  • Lesson 1: Welcome
  • Lesson 2: Preparation and Configuration of the Environment
  • Lesson 3: Isolating Tests
  • Lesson 4: Implementing Helper Classes
  • Lesson 5: Implementation of the First Integration Test
  • Lesson 6: Testing Other Scenarios
  • Lesson 7: Homework
  • Lesson 8: Solution
BONUS: TEST DRIVEN DEVELOPMENT IN ASP.NET WEB API
  • Lesson 1: Welcome
  • Lesson 2: Test Driven Development
  • Lesson 3: Implementation of the First Algorithm Using the TDD Method
  • Lesson 4: Controller
  • Lesson 5: Service
  • Lesson 6: Repository
  • Lesson 7: Homework
  • Lesson 8: Solution
OTHER BONUSES
  • 1) Additional Supporting Materials PDF
  • 2) Homework
  • 3) Checking Your Homework
  • 4) Analysis of Your Work Via Email
  • 5) Access to Material Updates (New Materials)
Here's everything you'll get, when you sign up for Unit Testing School
Unit Testing School - Unit Testing For C#/.NET Developers - Training
  • Online Training - Unit Testing School
    9 Online Training Modules. You will get 5 to 15 videos in each module showing the entire process of writing Unit Tests in C#. I will take you from zero to a Developer who will write advanced Unit Tests in .NET.
  • Training instructor support at every stage
    Throughout the entire training, you will work under the supervision of a trainer who will help you in case of problems. You will be in constant contact.
  • Lots of practice
    In this training, we focus mainly on practice. We will create unit tests for real applications. I will show you how to write unit tests for Windows Forms, WPF, Blazor, ASP.NET Core MVC and ASP.NET Core Web API applications.
  • You will receive Bonuses
    In the program you will receive many bonuses, including additional PDF materials that will help you consolidate your knowledge, homework. Additional bonus modules.
  • You'll Learn the Most Common Beginners' Mistakes
    In most weeks, I will show you the most common mistakes beginners make in a given subject. I will show you what to pay attention to and what mistakes to avoid.
  • Bonus Module 1: Integration Testing
    You will receive a bonus module, in which I will show you how to write integration tests as well. We will write integration tests for ASP.NET Web Api applications.
  • Bonus Module 2: TDD
    You will receive a bonus module in which I will show you what TDD is, i.e. Test Driven Development. We will implement new functionalities in the ASP.NET Web API application using the TDD technique.
  • Certificate of Completion of Training
    If you complete the entire training, you will receive a certificate of completion at the end. You can include information about such a certificate in your CV, which will increase your chances of finding a job.
$449
Get started now
You can buy conveniently, you can pay by card, PayPal, etc.
Contakt: kazik@codewithkazik.com

Our guarantee

Love the show or we'll refund your money

The materials are prepared to give you a lot of benefits, more value than you expect. If for some reason the program is not right for you, just write to kazik@codewithkazik.com and we will refund you 100% of your payment. You have 14 days to do so.

Secure payments

Your purchases are 100% safe. All payments go through a dedicated payment system paddle.com. Each connection is secured with an SSL certificate.

WHY CHOOSE A UNIT TESTING SCHOOL

Kazimierz Szpin - Creator of the Unit Testing School

Your instructor is Kazimierz Szpin. Senior Developer C#/.NET. Programming enthusiast with over 10 years of experience on the .NET platform.

He has collaborated with companies such as: Sensonics, Infobox, BIELbit, Rekord SI.

Creator and author of many initiatives, including: CodeWithKazik.com blog, CodeWithKazik YouTube channel, Become Software Developer training, ASP.NET Core School training, Blazor School training, HTML CSS School training, Unit Testing School training, Entity Framework Core School training, StworzSklepOnline.pl application, CrmDlaFirmy.pl application, BlogW5Minut.pl application, book How to Become a Programmer from Zero to Expert.

For most of his career, he has worked both as an employee and as a freelancer at several software companies.

He has written various applications in his career. He started with desktop applications written in windows forms, then in WPF. Through mobile applications written in Xamarin, and ending with web applications in ASP.NET MVC, ASP.NET Core, ASP.NET Web API and Blazor.

Kazimierz Szpin

Here's what participants of my training say

Mateusz Kiela
Mateusz Kiela
Hey, this is Mateusz, training with Kazimierz from CodeWithKazik.com entitled "Become a .NET Developer Training" is really good. It covers many topics related to programming in .NET, and the applications written there are really extensive. If you complete the training and, most importantly, acquire knowledge significantly, i.e. it will not only be familiar topics but you will feel good in them, you can safely count on employment as a .NET programmer. It is important to do your homework and try to solve it yourself first, this is what a programmer's everyday work looks like, I know what I am writing because after Kazik's course I became a programmer at PKO BP.
Sławomir Jankowski
Sławomir Jankowski
Once again, many thanks for the well-developed and prepared training.
You support the wide range of theoretical knowledge presented in the training with practice, and it's great that you provide ongoing feedback on the tasks prepared by the student.
It's great that you teach good programming patterns. You show many practical things that are difficult to find in other available trainings or tutorials.
And most importantly, (which I can confirm with my own experience, as I am just starting to work as a programmer), your training brings me VERY closer to my goal of starting to work as a .NET programmer.
Thank you very much.
Marek Rozwałka
Marek Rozwałka
For as long as I can remember, I have always wanted to become a programmer, I don't know why, but I chose ASP.NET.
During my school days it was unrealistic due to the low popularity of this language and poor content on the Internet.
Obviously, times are changing and the labor market is changing as well. So far, I was practicing computer graphics until I came across (on Facebook) Kazimierz Szpin's training on programming, which discusses Microsoft's ASP technology based on the C# language using the .NET platform.
For my part, I can confidently recommend Kazimierz's video courses, they are great, if you don't believe me, you will see for yourself. It's really worth it, you won't be able to get such a solid dose in any school. This training will make you aware of what is involved and you will not be afraid of any complex concepts.
Mieczysław Sobaś
Mieczysław Sobaś
The "Become a .NET Developer" course completely changed my approach to programming. The author of the course shares his knowledge in an accessible way, discusses issues related to .NET technologies reliably and professionally, and introduces you to the world of object-oriented programming in small steps. A huge amount of material supported by examples, interesting tasks prepared for each lesson and the ability to contact the author in the event of an impossible situation make this course second to none. Despite having another course and books on WPF, it was only this course that encouraged me to write such applications. Thanks to Entity Framework, compared to ADO.NET, I learned how easy and convenient it is to perform database operations using the LINQ language.
I sincerely recommend this course to everyone!
Andrzej Zapart
Andrzej Zapart
A very good course, both for beginners and for those who want to recall and refresh their knowledge and become well acquainted with programming in C# and .NET. In my opinion, the course is very well prepared in terms of less theory and more practice, especially since the online course is designed in a way of writing code and explaining its operation. The information is presented in a clear and specific way, and gradually without rushing. Very good and quick contact with the Instructor and the ability to complete the Online Course at any time with the supervision of a Mentor makes it a great alternative to stationary courses and bootcamps. For me, it's a sensible way of teaching and I honestly recommend this course even for beginners.
Sławomir Pomana
Sławomir Pomana
Hello, I decided to take the Become a .NET Developer course and I am satisfied. The structure of the training is well organized, i.e. in each chapter, a given topic is first discussed and at the end of the chapter there are practical tasks that allow you to practice what has been discussed. Another point that made me buy this course is the mentorship. In practice, I was also positively satisfied with this point because the mentor's approach is clearly individual and I can write about any problem and then receive support. There is no such thing as slacking, I get answers the same day or the next day if it's late :)
Michał Rekieć
Michał Rekieć
A very good training that I can confidently recommend to anyone who wants to expand their skills in .NET technology by learning to write various types of applications. Knowledge provided in a way that is understandable to a beginner, the quality and substantive value of the recordings are at the highest level. Homework requiring commitment and in-depth study of a specific section, there is really a lot to do during each week of training :) Contact with the instructor is hassle-free, Kazimierz checks the work quickly and gives a comprehensive answer and valuable tips to each solution sent. Also worth mentioning is a specially created group on Facebook, where you can share your solutions to tasks with other participants. You won't find knowledge presented in such a condensed and structured way in videos posted on YouTube.
Waldemar Szwajłyk
Waldemar Szwajłyk
Thanks to this training and the instructor, I managed to learn new, more advanced programming techniques.
Bring order to the code. I'm not a complete beginner, but I still acquired a lot of new knowledge and learned good practices.
The instructor is open to help in every part of this training.
I don't regret joining the course, and thanks to the Facebook group you can also get advice on any problems or mistakes from other people in the group or the instructor himself is willing to provide help or tips.
Bartłomiej Plata
Bartłomiej Plata
For me, as a practical person, the "Become a .NET Programmer" course is compressed knowledge that comes to mind with regular practice. Issues related to object-oriented programming or more specific issues become clear and transparent. The wealth of knowledge contained in the materials, as well as continuous access to the course, allows the programmer to maintain a high level. I highly recommend it to people who prefer to focus on specifics instead of searching for news on the Internet and wasting time understanding the relationships between them.
Sebastian Kurek
Sebastian Kurek
As an automation tester in C#, I wanted to learn more about the capabilities of the .NET platform. Thanks to the Become a .NET Developer course, I learned a lot of new things about programming and a good approach to writing code. The course contains materials from the full scope of .NET. Everything is well explained and supported by practical examples. The biggest advantage of the course for me is that the projects implemented in it are real applications and not made-up examples. The author of the course helps very quickly in solving emerging problems. I highly recommend the course for anyone thinking about programming.
Pawel Kubiak
Pawel Kubiak
Hello. I would like to recommend the 'Become a NET developer' course to everyone. Learning takes time and commitment, but you will find all the necessary materials and information here. The knowledge is presented in an accessible way and the rest is up to you :) The great advantage of the course is the care of Kazimierz, who is very helpful and responds quickly to your emails if you don't understand something. I recommend!
Michał Beśka
Michał Beśka
Thanks to the training, I managed to get an internship and later my first job. The training helped me learn how to create e-commerce applications. If you want to work as a programmer, I definitely recommend starting with the "Become a .Net Programmer" training.
Maciej Szafrański
Maciej Szafrański
I highly recommend the .NET Academy training. It is not as cheap as on e-learning platforms, but there we pay for the absolute basics. On the other hand, it's not a $15,000 bootcamp. zloty. In my opinion, the value for money is definitely incomparable to those mentioned, of course a plus. There is a lot of material. The knowledge contained therein definitely goes beyond the absolute basics. Lots of practical tasks. The instructor is very helpful and willing to help if someone has a problem solving a task. Homework is checked very quickly (about 1 day) and thoroughly. I recommend it, especially since I decided to purchase further training myself.
Mateusz Radwański
Mateusz Radwański
The "Become a .NET Programmer" training is a comprehensive C#/.NET course that gives you a solid foundation to become a C#/.NET programmer in the future.
The host is a programmer with many years of experience who is able to pass on knowledge to participants, and you can always count on his help.
If you have any questions or problems, he responds really quickly.
The quality of the recordings is GREAT, the pace is OK, it's pleasant to listen to. I recommend it as one of the currently best C#/.NET courses.
Angelika Maria Piątkowska
Angelika Maria Piątkowska
I bought the "Become a .net programmer" course after about 5 or 6 years of work to systematize my knowledge and... I systematized my knowledge :) I use it to remind myself before recruitment interviews. I recommend it many times to students and juniors, because it explains everything clearly. Then it's just practice :). You did a great job. The course allows you to start developing any type of application from scratch and helps everyone not get lost. I regret that he wasn't there when I started working, but nothing is lost :). The advantage is that subsequent issues are presented in a logical order and that the previously acquired knowledge can be used over time, which allows you to consolidate it. You are literally guided through the process of becoming a programmer by hand. You also provide a lot of ideas on how to use it in practice, you show what problems you may encounter - basically a bootcamp, but at home and at your own pace. For me it's the bomb.
Jakub Pelczar
Jakub Pelczar
Some time ago I finished the Become a .NET developer course and I must say that the course was very nice.
I started it from scratch (when it comes to C#) and I really learned a lot of interesting things, which helped me start writing applications myself.
Going through the entire .Net platform is probably one of the biggest advantages of this course.
Marta Bomba
Marta Bomba
I have already had several approaches to learning programming and used various sources. Each time the result was the same - I couldn't complete the courses. The reasons were various: repeating information about the types of variables or loops for hours, which simply bored me; encountering problems that I could not cope with on my own; lack of skills to use the acquired knowledge in practice, which caused, firstly, frustration, and secondly, after a while I forgot what I had already learned. This course is different.

Three things for which I would highlight the course are its very broad scope (desktop, mobile, web applications) and comprehensive approach (GIT, databases), which allows you to build applications on your own from A to Z. Practical approach - we learn theory while opportunities by building applications, so there is no time for boredom and it is easier to acquire knowledge. Mentor support, which is invaluable because, firstly, we get help in solving the problems we encounter, and secondly, we receive feedback on the tasks performed, which is motivating and helps us improve. Kazimierz is really committed, and his responsiveness is often much greater than that of instructors of courses that last several days and cost several thousand.

I am really satisfied and I think it is definitely worth investing in this course. If you decide to do it, I must admit, you will have a lot of work ahead of you, but also a lot of satisfaction and you will gain real skills. You will have to devote a lot of time, although at times convenient for you, but I believe that, like me, you will not regret it. And you can always go back to the course if you need to refresh some topics.
Sebastian Marcinkowski
Sebastian Marcinkowski
Hello everyone, Sebastian here :) I would like to recommend the "How to Become a .NET Programmer" course to anyone interested, it helped me learn many topics about programming in C# / .NET. Before starting the course, my knowledge was not systematized, I had only a superficial understanding of technologies such as C, C++ and Python. During high school classes, I had to deal with object-oriented programming, but my knowledge did not allow me to create a larger Internet database application or window application. During the course, I learned how to create the above-mentioned applications, learned many good practices and, above all, was very encouraged! Currently, I am able to freely create various types of applications, which is also reflected in the fact that I am a member of the team that deals with the development of ERP applications, for now as a volunteer, but I am of the opinion that it is worth starting somewhere. Greetings to everyone! 🙂

Other opinions

It trusted us

Training Participants
YouTube subscribers
Facebook Followers

IS THERE ANOTHER WAY?

Of course!

You can watch hundreds of videos on YouTube, read books about unit testing, or trust your own intuition.

You can also sign up for on-site training, which will cost you several thousand zlotys.

Instead, you can start a 9-week program and learn how to write unit tests in C#/.NET under the supervision of a Trainer support, without making mistakes and improve the quality of your code.

QUESTIONS AND ANSWERS

Can I get this program for life?

Yes. When you purchase this program, you get lifetime access to the materials.

Will I get the entire course at once?

Yes. You will get access to all 9 weeks + 2 bonus modules. The program is designed so that you will definitely not get bored, after each completed week you will receive homework.

Will someone still check my homework after 9 weeks?

Yes. It will be best if you solve the tasks as they happen, together with the other participants, but if you do not have this possibility, you can start late and your homework will be checked in the same way.

What if I'm not satisfied with the training?

If you decide that the program is not for you, you will receive a refund. You can apply for a refund or cancel it. You have 14 days from the date of purchase to do so. In such a case, write to kazik@codewithkazik.com and I will refund you 100% of your money.

Will I receive a certificate upon completion of the training?

That's right. If you complete the training, you will receive a certificate confirming your completion of the training.

What if I'm having trouble with something or something is unclear?

Write to email address:
You will get the following bonuses for FREE!
If you just join the Unit Testing School
  • FREE BONUS #1: Module - Integration Testing
  • FREE BONUS #2: Module - TDD
  • FREE BONUS #3: Additional PDF Materials
  • FREE BONUS #4: Homework Checker
  • FREE BONUS #5: Trainer Support
  • FREE BONUS #6: Training Completion Certificate
Unit Testing School - Training for C#/.NET programmers
Unit Testing School
WITH 14-DAY MONEY BACK GUARANTEE!
Price: $449
Get started now
You can buy conveniently, you can pay by card, PayPal, etc.
Contakt: kazik@codewithkazik.com