C# Corner
Tech
News
Videos
Forums
Trainings
Books
Live
More
Interviews
Events
Jobs
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Tags
No tag found
Content Filter
Articles
Videos
Blogs
Resources
News
Forums
Interviews
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Sourav Kayal(12)
Debasis Saha(5)
Ajay Kumar(4)
Vidya Vrat Agarwal(4)
Ayush Gupta(3)
Geo J Thachankary(3)
Dinesh Kushwaha(3)
Akhil Mittal(3)
Rajesh Gami(2)
Catcher Wong(2)
Ganesan C(2)
Nanddeep Nachan(2)
Mukesh Kumar(2)
Aarav Patel(1)
Riya Patel(1)
Saurav Kumar(1)
John Godel(1)
Mominul Islam(1)
Akshay Amin(1)
Niharika Gupta(1)
Naga Santhosh Reddy Vootukuri(1)
Madhvendra Singh(1)
Sachin Ghadi(1)
Ziggy Rafiq(1)
Amit Mohanty(1)
Jaimin Shethiya(1)
Arpit Shrivastava(1)
Safyan Yaqoob(1)
Chetan Sanghani(1)
Abhishek Suthar(1)
Abhishek Tiwari(1)
Mohamed Shifan(1)
Gajendra Jangid(1)
Allam Purushotham(1)
Chethan N(1)
Abdul Raheem(1)
Gaurav Gahlot(1)
Mervyn Manilall(1)
Ravi Raghav(1)
Anoop Kumar Sharma(1)
Varun Setia(1)
Matea Andrei(1)
Satya Karki(1)
Cristopher Coronado(1)
Jay Krishna Reddy (1)
Sanjay Mrinal Kumar Kodangi(1)
Ashutosh Gupta(1)
Neeraj Shende(1)
Mukesh Shah(1)
Manish Saini(1)
Jignesh Trivedi(1)
John Kocer(1)
Mithilesh Kumar(1)
Habibur Rony(1)
Ravi Ranjan Kumar(1)
Shweta Lodha(1)
Sibeesh Venu(1)
Vinoth Rajendran(1)
Rupesh Kahane(1)
Guest User(1)
Praveen Sreeram(1)
Gopal C. Bala(1)
Gul Md Ershad(1)
Santhi Maadhaven(1)
Rizwan Ali(1)
Sandeep Singh Shekhawat(1)
Resources
No resource found
How to Implement Unit Testing in .NET using xUnit with Example
Apr 16, 2026.
Master .NET unit testing with xUnit! Learn to write effective tests, catch bugs early, and improve code quality. Includes practical examples and best practices.
How to Implement Repository and Unit of Work with Entity Framework
Apr 09, 2026.
Implement Repository and Unit of Work patterns in ASP.NET Core with EF Core 10 for clean, testable, and maintainable data access. Improve architecture and performance.
What Is Unit Testing and How to Write Your First Unit Test in C#?
Apr 06, 2026.
Master C# unit testing! This beginner's guide covers the basics, AAA pattern, frameworks (MSTest, NUnit, xUnit), best practices, and common mistakes. Build reliable .NET apps!
The CFO’s Guide to Agentic AI: Turning “Cool Demos” Into Predictable Unit Economics
Jan 15, 2026.
CFOs, unlock agentic AI's potential! This guide provides a financial framework: unit economics, cost controls, governance, and ROI metrics for predictable value.
Building a Professional Full-Stack Application with Repository Pattern, Unit of Work, Stored Procedures, Pagination, Sorting, and Searching
Nov 27, 2025.
Build scalable ASP.NET Core apps using Repository & Unit of Work patterns, stored procedures, EF Core, and Angular. Master pagination, sorting, and searching!
Implementing Unit of Work and Repository Pattern in ASP.NET Core with EF Core for Clean and Maintainable Architecture
Nov 13, 2025.
Implement Repository and Unit of Work patterns in ASP.NET Core with EF Core for clean, maintainable APIs. Learn to abstract data access and ensure transactions.
Master Repository & Unit of Work Patterns in ASP.NET Core (Part-37 of 40)
Oct 22, 2025.
Build testable, maintainable, and scalable data access layers for your applications. This comprehensive guide provides real-world examples, production-ready code, and best practices for implementing these robust patterns. Learn to avoid common pitfalls and optimize performance for enterprise applications.
Chapter 22: Unit Testing Fundamentals (Jest/Mocha)
Oct 12, 2025.
Master unit testing with Jest and Mocha! This guide covers the fundamentals of writing effective unit tests in JavaScript. Learn why testing is crucial for code quality, how to use Jest's key features (describe, test, expect, matchers), and how to implement setup/teardown for complex scenarios. Improve code reliability and prevent regressions with practical examples and best practices. Elevate your JavaScript development skills today!
Best Practices for Writing Unit Tests in Python with pytest
Sep 23, 2025.
Master Python unit testing with pytest! This guide covers best practices for writing effective and maintainable tests. Learn how to organize tests, use fixtures, parameterization, and mocking. Discover how to test edge cases, automate testing in CI/CD pipelines, and ensure code reliability. Improve your Python code quality and prevent regressions with pytest.
How Docker Test Containers will help in Unit testing
Aug 18, 2025.
Learn how to use Docker and test containers for software testing. Ensure reproducible environments, streamline dependencies, and integrate with CI/CD pipelines while optimizing resources and scalability.
Don't Make public just for writing Unit Test
Aug 14, 2025.
Avoid making methods public just for unit testing. Use public methods for testing, refactor complex methods into helpers, or leverage internal/Friend with InternalsVisibleTo to maintain encapsulation and clean design.
Comprehensive Guide to Unit Testing with MSTest in C#
Mar 12, 2025.
Learn how to write, run, and structure unit tests effectively with real-world examples, improving code quality and maintainability in .NET applications.
The Ultimate Guide to Writing NUnit Unit Tests in .NET 9
Jan 10, 2025.
Demonstrates how to write robust and reliable unit tests in .NET 9 using NUnit. This article teaches developers how to write effective unit tests in .NET 9 using NUnit, covering test setup, assertions, mocks, and best practices to enhance code reliability and bug reduction.
The Importance of Unit Testing in .NET Applications
Jan 07, 2025.
Unit testing is a crucial practice in .NET applications that helps ensure code reliability, maintainability, and efficiency. By using frameworks like NUnit, MSTest, and XUnit, developers can automate tests, catch bugs early, and improve code quality.
Moq Unit Testing in .NET Core with xUnit
Jan 03, 2025.
This guide covers mocking dependencies, setting up test projects, and writing efficient unit tests for your applications. Perfect for developers seeking to enhance their testing skills and build robust software.
In-Memory Databases- Unit Testing With C#, EFCore and XUnit
Sep 18, 2024.
Learn to unit test EF Core repositories using an in-memory database with C# and xUnit. This approach simulates database operations without overhead, ensuring fast and isolated tests. Set up involves installing necessary NuGet packages, configuring DbContext, writing tests, and initializing test data.
Getting Started with Unit Testing in ASP.NET Core
Aug 22, 2024.
Learn about essential testing frameworks like xUnit and NUnit, explore mocking and dependency injection techniques, and gain insights into best practices for writing robust test cases. Improve code quality and ensure reliable software with practical testing strategies.
Comprehensive Guide to Unit Testing in .NET Core
Jul 16, 2024.
Unit testing in .NET Core is essential for ensuring code quality and functionality. Using frameworks like xUnit and NUnit, developers can write effective tests to detect bugs early, support code refactoring, and maintain clear documentation.
The Unit of Work Pattern in C# for Modern Applications
Jul 11, 2024.
Explore the Unit of Work pattern in C#, essential for modern application development. Discover how it facilitates efficient database operations, manages transactions with Entity Framework, and enhances the scalability and maintainability of your data access layer.
Explain Unit Testing in .NET API
Jul 03, 2024.
Explore effective strategies for unit testing in .NET API development. Learn essential techniques like test-driven development (TDD), utilizing NUnit or xUnit frameworks, mocking dependencies, and ensuring robustness through integration testing.
FIRST Principles of Unit Testing: A Guide to Quality Code in C#
Jun 12, 2024.
Emphasizing the FIRST principles (Fast, Independent, Repeatable, Self-validating, and Timely), this guide equips developers with the techniques and best practices needed to ensure robust, reliable, and maintainable code.
Test Unit Using Refit in ASP.NET Core
May 24, 2024.
Testing unit using Refit in ASP.NET Core involves verifying API requests and responses. With Refit, you can efficiently mock HTTP clients, perform integration tests, and ensure the functionality of your ASP.NET Core applications, enhancing reliability and quality assurance.
Implementing the Unit of Work Pattern with MediatR Pipeline
May 14, 2024.
This article delves into integrating the Unit of Work pattern and MediatR pipeline to streamline data handling in software development. It covers their concepts, benefits, integration, and an example implementation in .NET.
Enhancing Code Quality: Unit Testing & Coverage in C# Development
May 14, 2024.
Unit testing and code coverage are vital in software development, ensuring reliability and identifying bugs early. This article explores their history, needs, evolution, types, popular tools, and practical demonstrations in C#.
How to write Unit Tests for SwiftUI Views?
Apr 18, 2024.
Learn the key practices for writing unit tests for SwiftUI views in iOS and macOS apps. This guide covers project setup, effective testing methods, and leveraging SwiftUI's testing framework. With code examples and best practices, ensure your views' reliability and maintainability through thorough unit testing.
Creating Users and Groups Within an Organizational Unit on Windows Server
Mar 12, 2024.
Active Directory Users and Computers is a common tool used by administrators to manage objects in an Active Directory domain.  
How to Write Unit Test Case with Mocking Service in Angular
Feb 24, 2024.
Learn how to write unit tests with mocked services in Angular using Jasmine and TestBed. This step-by-step guide demonstrates creating a mock service and testing component behavior in isolation for better reliability.
Develop D365 Contact Creation Plugin with Unit Test Case
Jan 24, 2024.
Create a Plugin when a new Contact is created in D365 and Update the same Contact in PreOperation with some data. This code snippet showcases the setup of an Entity Framework plugin in C#. It covers essential lines for retrieving services, context, and executing operations. Also, a unit test example is provided.
Creating Unit Test project for NodaTime
Jan 09, 2024.
Creating a NodaTime classlibrary project and adding Unit tests for that classlibrary. The creation of a NodaTime ClassLibrary project for .NET applications, emphasizing the importance of unit testing with xUnit. It provides step-by-step instructions, code snippets, and explanations for implementing and testing NodaTime functionalities, promoting robust and maintainable software development.
Implementing Unit Test .Net Core Application Using CQRS Handler
Dec 15, 2023.
Unit testing Dot Net Core using CQRS Architecture. This article delves into testing .Net Core API projects using the XUnit testing framework. Demonstrating unit tests for a CQRS architecture, it covers arrangement, action, and assertion phases with mocking and examples.
Parameterized Unit Testing with xUnit in .NET Core
Sep 15, 2023.
Unit Testing in .NET Core series, we delve into parameterized unit testing using the xUnit.Net testing library. Parameterized unit testing involves defining a single test method and supplying it with various sets of input parameters. This approach minimizes code duplication and allows for testing a wide range of scenarios efficiently.
Practical ASP.NET Core Unit Testing with xUnit, MOQ, and FluentAssertions
Sep 06, 2023.
Explore ASP.NET Core unit testing with xUnit, MOQ, and FluentAssertions. Learn to set up your project, write tests, and mock dependencies for reliable software development.
Getting Started with xUnit.Net for .NET Core Unit Testing
Aug 03, 2023.
Discover the importance of unit testing in software development and its benefits over manual testing, and explore popular testing frameworks in .NET Core, with a focus on xUnit.net for automated testing.
Introduction to Unit Testing in .NET Core
Aug 01, 2023.
Learn the fundamentals of unit testing in .NET Core, including manual vs. automated testing and popular testing frameworks like xUnit.net.
How to Unit Test a CLI in Go?
Jun 26, 2023.
A article explains how we can write unit tests for a CLI application in Go.
WebAPI Unit Testing with MSTest Project in .Net 7
May 03, 2023.
Today I will create the ASP.Net Web API in .Net 7 and I will test module with MSTest Unit Testing Project.
Maximizing Code Quality with Unit Testing
May 02, 2023.
Learn how to write effective unit tests for your Angular applications. This article covers the basics of unit testing in Angular, including setting up a testing environment, creating test suites and cases, and using popular testing frameworks like Jasmine and Karma. With these tips and examples, you can improve the quality and reliability of your Angular code and catch bugs early in the development process.
Clean Coding Practices In .NET - Unit Tests And SOLID Principles
Mar 20, 2023.
In this article, you will learn about Clean Coding Practices in .NET: Unit Tests and SOLID Principles.
Write Unit Tests For Database Related Business Code
Aug 21, 2022.
This article introduce some ways to write unit tests for database related business code.
Getting Started With Unit Testing With NUnit In .Net Core
Jul 02, 2022.
In this article, we will learn about Unit Testing with NUnit in .Net Core.
Writing Efficient Unit Test Cases with Moq and Bogus
Mar 21, 2022.
Writing Efficient Unit Test Cases with Moq and Bogus.
Implement Unit Of Work And Generic Repository pattern in a Web API .NET Core Project Using EF
Feb 21, 2022.
Complete guide to implement Unit of Work with Generic Repository Pattern with Entity Framework in a WEB API .NET Core project
How To Resolve Issue Of Test Project Not Running The Unit Tests After Upgrade To .NET 6
Jan 07, 2022.
This article describes the scenario of unit test project not running the test cases in .NET project and the solution to this issue in detail.
Implementing Unit And Integration Tests On .NET With xUnit
Nov 18, 2021.
In this article, you will learn about implementing Unit and Integration Tests on .NET with xUnit.
How To Write Unit Test For Exception And Console Log In C#
Oct 01, 2021.
In this article, we are going to explore about how to write unit test for exception and console log in C#.
How To Mock And Write Unit Test For API Calls In The React Application
Sep 07, 2021.
In this article, you are going to learn about how to mock API calls and write unit test for API call using fetch-mock in React application.
Implementing Unit Of Work And Repository Pattern With Dependency Injection In .Net 5
Sep 03, 2021.
This article will deep dive into the different kinds of pattern implementation and its usage.Net 5 Web API.
Creating Unit Tests For Azure Functions
Oct 12, 2020.
In this article, you will learn how to create Unit Tests for Azure Functions.
Writing Unit Test Using XUnit And Mocking Frameworks (NSubstitue/FakeItEasy)
Apr 10, 2020.
In this article, you will learn about Writing Unit Test using XUnit and Mocking Frameworks like NSubstitue or FakeItEasy.
Mocking Dependencies In Angular Unit Tests
Dec 23, 2019.
Angular unit tests often require mocking dependencies for isolated testing. Utilize TestBed and Jasmine's spyOn function to mock services, HTTP requests, and other dependencies, ensuring comprehensive testing coverage for Angular components.
Learn About Unit Testing
Jul 26, 2019.
In this article, you will learn about Unit Testing.
Azure DevOps For SPFx Unit Testing
Jul 24, 2019.
In this article, we will automate running the test cases using Azure DevOps.
SPFx - Unit Test With Jest And Enzyme
Jul 22, 2019.
In this article, we will develop unit tests for SPFx solutions using Enzyme and Jest JavaScript Testing Framework.
Writing Unit Tests For Our Applications Via xUnit, FakeItEasy And Shouldly
Jun 05, 2019.
This article shows you an easy sample to demonstrate how to write unit tests for our application via xUnit, FakeItEasy, and Shouldly.
Live Unit Testing With Visual Studio 2017
Nov 06, 2018.
Visual Studio 2017 version 15.3 or higher version supports the Live Unit Testing. This feature executes already written Test Cases automatically as a programmer makes the code changes.
CRUD Operations Unit Testing In ASP.NET Core Web API With xUnit
Nov 02, 2018.
This article will demonstrate how to write Unit Test Cases for CRUD operations in Asp.Net Core Web API with the xUnit project. In this demonstration, we will write the Unit Test Cases for CRUD (CREATE, READ, UPDATE, and DELETE) operations.
Getting Started With Unit Testing Using C# And xUnit
Oct 26, 2018.
Unit Testing in ASP.NET Core involves testing individual components or methods to ensure they work as intended. By creating test cases for small functionalities, developers can catch bugs early, improve code quality, and follow TDD principles. Tools like xUnit are used to automate and organize these tests efficiently.
Moq Mocking Framework With xUnit.net Unit Test In C#
Sep 17, 2018.
In this article, we will learn how to setup Moq mocking framework with xUnit.net unit testing framework.
Code Coverage In xUnit.net Unit Test Projects In Visual Studio Enterprise 2017
Aug 27, 2018.
In this tutorial, we will understand the code coverage concepts in Visual Studio 2017 Enterprise and how to include and exclude the necessary part of the code.
Setup xUnit.net Unit Testing In Class Library Project
Aug 22, 2018.
In this tutorial, we will learn how to configure xUnit.net in Visual Studio 2017 class library project.
Inside Out - Live Unit Testing With VS 2017
Jul 30, 2018.
Live Unit Testing is a brand-new technology, made available in Visual Studio 2017 version 15.3 or above. Live unit testing enables the IDE to execute unit tests automatically in real time without cod being build, and as you make changes to the code.
Learn Angular 4.0 In 10 Days - Unit Test - Day Ten (Part Two)
Mar 26, 2018.
In this article, we will discuss how to perform Unit Test on Angular 5 Components
Learn Angular 4.0 In 10 Days - Unit Test - Day Ten (Part One)
Mar 21, 2018.
In this article, we will discuss about how to perform unit test using Angular 4 and Jasmine Framework
Moq - Unit Test In .NET Core App Using Mock Object
Feb 14, 2018.
The Unit test is a block of code that helps us verify the expected behavior of the other code in isolation; i.e., there is no dependency between the tests. This is a good way to test the application code before it goes for quality assurance (QA).
.NET Entity Framework Core Generic Async Operations With Unit Of Work Generic Repository
Oct 05, 2017.
The advantage of generic repository is that you can inherit from it, pass an entity type, and you will get CRUD operations. It will save you a lot of coding time when your domain objects are likely to grow over 50+. Another advantage is change history functionality; you can inherit your entities from the change history interface.
CRUD Operation Using Code First Approach, Web API, Repository Pattern, Unit Of Work, And jqGrid In MVC
Aug 10, 2017.
Today, in this article, I will explain how to perform CRUD operations in MVC using Code First Approach.
How To Perform Unit Test Using Jasmine In Angular 2 - Day Twenty Eight
May 26, 2017.
In this article, we will discuss how to perform Unit test , using Jasmine in Angular 2.0.
Software Testing - Best Practices And Principles To Write Unit Testing
Apr 14, 2017.
In this article, you will learn best practices and principles to write Unit testing.
A Basic Introduction To C# Unit Test For Beginners
Apr 11, 2017.
In this article, you will learn what C# unit test is and how to write unit tests in C#.
Live Unit Testing In Visual Studio 2017
Dec 07, 2016.
In this article, you will learn about Live Unit Testing in Visual Studio 2017.
WCF Service Unit Tests Using NUnit With Rhino Mocks And Entity Framework
Nov 22, 2016.
In this article, you will learn how to run WCF Service Unit Tests using NUnit, with Rhino Mocks and Entity Framework.
Live Unit Testing In Visual Studio Enterprise 2017
Nov 20, 2016.
This article explains how to implement the Live Unit Testing feature in Visual Studio 2017.
CRUD Operation Using Repository Unit Of Work Pattern
Sep 26, 2016.
Create an ASP.NET MVC project in Visual Studio 2013, add a class library, and set up a SQL Server database. Implement Entity Framework with an EDMX model, then use the Repository pattern for CRUD operations. Add a Home Controller for managing data, and create views for adding, editing, and deleting records.
Visual Studio and .NET's Unit Test Framework
Jun 08, 2016.
This article outlines the process of automating tests using Microsoft Visual Studio's Unit Testing Framework. It covers the fundamentals of test automation, explains the structure of test cases, and demonstrates how to automate testing for a DLL component.
Voice of A Developer: JavaScript Unit Test - Part 34
Jun 06, 2016.
In this article, you will learn about JavaScript Unit Test. This is part 34 of the article series.
Azure SQL Database Transaction Unit (DTU) Calculator
May 19, 2016.
In this article you will learn about Azure SQL Database Transaction Unit (DTU) Calculator.
AngularJS From Beginning: Unit Test Of AngularJS Components - Part 14
May 18, 2016.
In this article, we will discuss how to perform unit tests of AngularJS Directive, Service using jasmine.
AngularJS From Beginning: Unit Test Of AngularJS Controller - Part Thirteen
May 18, 2016.
In this article, we will discuss how to perform unit test of AngularJS controller using Jasmine.
Complete Application Flow With Web API 2.0, CORS, Unit Of Work Repository Pattern, Unity And Angular JS Routing
Apr 11, 2016.
In this article you will learn how to complete Application Flow with Web API 2.0, CORS, Unit of Work Repository Pattern, Unity and AngularJS Routing.
RESTful Day Eight: Unit Testing And Integration Testing in WebAPI Using NUnit And Moq framework: Part Two
Mar 07, 2016.
In "RESTful Day Eight: Unit Testing And Integration Testing in WebAPI Using NUnit And Moq framework: Part Two," learn to rigorously test WebAPI endpoints, employing NUnit and Moq for comprehensive unit and integration testing, ensuring robustness and reliability in API development.
RESTful Day #7: Unit Testing and Integration Testing in WebAPI using NUnit and Moq framework: Part 1
Mar 01, 2016.
Explore essential aspects of RESTful API development with a focus on Unit Testing and Integration Testing using NUnit and Moq framework in WebAPI. Delve into testing strategies and automation for robust software development.
AngularJS Unit Testing With Jasmine
Dec 29, 2015.
This article is intended to explain the concept of unit testing using Jasmine framework.
Comparison Of Unit Testing Tools In .NET
Sep 17, 2015.
In this article I am comparing Unit Testing Tools in .NET.
Developer's Checklist For Unit Test
Aug 02, 2015.
This article provides a developer's checklist for Unit Testing.
Visual Studio and .NET Unit Test Framework
May 18, 2015.
In this article, we will explain the Unit Test Framework in Microsoft Visual Studio and .NET
RESTful Day 1: Enterprise Level Application Architecture With Web APIs Using Entity Framework, Generic Repository Pattern and Unit of Work
May 10, 2015.
Explore the intricacies of Web APIs, leverage Entity Framework for seamless data access, implement the efficient Generic Repository Pattern, and ensure transactional integrity with the Unit of Work pattern.
Smart Unit Tests in Visual Studio 2015
Dec 29, 2014.
Here we learn about Smart Unit Tests and how they work in Visual Studio 2015.
CRUD Operations Using the Generic Repository Pattern and Unit of Work in MVC
Aug 31, 2014.
Implement CRUD operations in MVC using the Generic Repository Pattern and Unit of Work. Abstract data access logic, promote code reusability, and maintainability. Ensure separation of concerns and scalability in application development.
Understand Stub, Mock and Fake in Unit Testing
Jun 26, 2014.
In this article we will understand the three very important concepts called Stub, Mock and Fake in terms of unit testing and will see how they are used depending on scenario.
Fundamentals of Unit Testing: Unit Testing of MVC Application
May 14, 2014.
In this article we will learn to perform unit testing in MVC applications.
Fundamentals of Unit Testing: Unit Testing of IOC Code
May 10, 2014.
Learn essential unit testing principles applied to the Inversion of Control (IoC) code. Master techniques for testing IoC setup, dependencies, and configurations. Boost software quality with robust testing practices tailored to IoC containers.
Fundamentals of Unit Testing: Code Coverage Using Visual Studio Unit Testing
May 06, 2014.
Here, we will test the function using a unit test method and we will measure code coverage of unit testing.
Fundamentals of Unit Testing: Understand Mock Object in Unit Testing
May 04, 2014.
Learn unit testing fundamentals with a focus on mocking using the Moq framework in Visual Studio. Explore how mock objects simulate dependencies, ensuring isolated testing environments. Master essential techniques like lambda expressions and the Setup() method for efficient unit tests in distributed team projects.
Fundamentals of Unit Testing: Don’t Test Your Private Method
May 01, 2014.
In this article, we will discuss the very controversial and important topic of whether the testing of a private method or private function is ethical.
Fundamentals of Unit Testing: Unit Test Using Nunit
May 01, 2014.
In this article we will use the Nunit framework to implement a unit test.
Fundamentals of Unit Testing: Understand ExpectedException in Unit Testing
Apr 30, 2014.
This article explains the “ExpectedException” attribute in unit testing.
Fundamentals of Unit Testing: Understand CollectionAssert() in Unit Testing
Apr 28, 2014.
In this article we will talk about one important function of unit testing called CollectionAssert().
Fundamentals of Unit Testing: Understand AreEqual and AreEqual<T> in Unit Testing
Apr 26, 2014.
Learn the fundamentals of unit testing with a focus on Assert.AreEqual and Assert.AreEqual<T>. These assertion methods are crucial in ensuring your code behaves as expected. Mastering them enhances code quality and streamlines the testing process, fostering robust software development.
Fundamentals of Unit Testing: Understand AAA in Unit Testing
Apr 24, 2014.
Master the fundamentals of unit testing with a focus on AAA. Arrange, Act, and Assert. Dive into test methods, understand the AAA pattern, and leverage testing frameworks like Microsoft's Unit Testing Framework for Visual Studio.
Fundamentals of Unit Testing: Test Your Application by Visual Studio Unit Test
Apr 23, 2014.
This article is part of the "Fundamentals of Unit Testing" series, focusing on practical implementation in the Visual Studio environment. It covers steps such as creating a class library application, defining a simple class and function for testing, adding a unit test project to the solution, writing test cases, and running tests using Visual Studio's testing framework.