Skip to content
Navigation menu
Search
Powered by
Search
Algolia
Search
Log in
Create account
DEV Community
Close
UnitTesting101 Series' Articles
Back to Cesar Aguirre's Series
How to write good unit tests? Avoid these two issues
Cesar Aguirre
Cesar Aguirre
Cesar Aguirre
Follow
Nov 9 '20
How to write good unit tests? Avoid these two issues
#
tutorial
#
csharp
#
testing
#
beginners
9
reactions
Comments
Add Comment
3 min read
4 common mistakes when writing your first unit tests
Cesar Aguirre
Cesar Aguirre
Cesar Aguirre
Follow
Apr 5 '21
4 common mistakes when writing your first unit tests
#
csharp
#
tutorial
#
beginners
#
testing
10
reactions
Comments
2
comments
4 min read
4 naming conventions to better name your tests
Cesar Aguirre
Cesar Aguirre
Cesar Aguirre
Follow
May 3 '21
4 naming conventions to better name your tests
#
tutorial
#
csharp
#
testing
#
beginners
9
reactions
Comments
Add Comment
2 min read
What are fakes, stubs and mocks?
Cesar Aguirre
Cesar Aguirre
Cesar Aguirre
Follow
Jun 7 '21
What are fakes, stubs and mocks?
#
beginners
#
csharp
#
testing
4
reactions
Comments
Add Comment
3 min read
How to create test data with Object Mothers
Cesar Aguirre
Cesar Aguirre
Cesar Aguirre
Follow
Jul 5 '21
How to create test data with Object Mothers
#
beginners
#
csharp
#
testing
7
reactions
Comments
Add Comment
3 min read
How to write better assertions: 5 Best Practices
Cesar Aguirre
Cesar Aguirre
Cesar Aguirre
Follow
Aug 2 '21
How to write better assertions: 5 Best Practices
#
csharp
#
testing
#
beginners
#
tutorial
5
reactions
Comments
Add Comment
4 min read
How to create custom assertions in C# with MSTest
Cesar Aguirre
Cesar Aguirre
Cesar Aguirre
Follow
Aug 30 '21
How to create custom assertions in C# with MSTest
#
beginners
#
csharp
#
testing
#
tutorial
4
reactions
Comments
2
comments
2 min read
Simplify your unit tests with auto-mocking and TypeBuilder
Cesar Aguirre
Cesar Aguirre
Cesar Aguirre
Follow
Sep 27 '21
Simplify your unit tests with auto-mocking and TypeBuilder
#
showdev
#
csharp
#
beginners
#
testing
8
reactions
Comments
Add Comment
5 min read
Unit Testing Best Practices: 6 tips for better names
Cesar Aguirre
Cesar Aguirre
Cesar Aguirre
Follow
Oct 4 '21
Unit Testing Best Practices: 6 tips for better names
#
beginners
#
csharp
#
testing
#
codequality
4
reactions
Comments
Add Comment
2 min read
Don't duplicate logic in Asserts: The most common mistake on unit testing
Cesar Aguirre
Cesar Aguirre
Cesar Aguirre
Follow
Nov 8 '21
Don't duplicate logic in Asserts: The most common mistake on unit testing
#
csharp
#
beginners
#
testing
#
tutorial
2
reactions
Comments
Add Comment
3 min read
Unit Testing Best Practices: Organization & Test Data
Cesar Aguirre
Cesar Aguirre
Cesar Aguirre
Follow
Dec 6 '21
Unit Testing Best Practices: Organization & Test Data
#
csharp
#
beginners
#
testing
#
tutorial
5
reactions
Comments
Add Comment
2 min read
TIL: How to write tests for HttpClient using Moq
Cesar Aguirre
Cesar Aguirre
Cesar Aguirre
Follow
Dec 1 '22
TIL: How to write tests for HttpClient using Moq
#
csharp
#
beginners
#
adventofcode
#
dotnet
4
reactions
Comments
Add Comment
4 min read
How to write good unit tests: Use simple test values
Cesar Aguirre
Cesar Aguirre
Cesar Aguirre
Follow
Mar 6 '23
How to write good unit tests: Use simple test values
#
csharp
#
beginners
#
dotnet
#
testing
3
reactions
Comments
Add Comment
4 min read
Writing tests for logging messages
Cesar Aguirre
Cesar Aguirre
Cesar Aguirre
Follow
Apr 3 '23
Writing tests for logging messages
#
csharp
#
beginners
#
dotnet
#
testing
11
reactions
Comments
Add Comment
4 min read
Let's refactor a test: AccountController
Cesar Aguirre
Cesar Aguirre
Cesar Aguirre
Follow
Mar 11
Let's refactor a test: AccountController
#
csharp
#
tutorial
#
dotnet
#
unittest
1
reaction
Comments
Add Comment
4 min read
Let's refactor a test: PaymentProxy
Cesar Aguirre
Cesar Aguirre
Cesar Aguirre
Follow
Mar 18
Let's refactor a test: PaymentProxy
#
csharp
#
tutorial
#
dotnet
#
unittest
Comments
Add Comment
3 min read
How to Test Logging with FakeLogger
Cesar Aguirre
Cesar Aguirre
Cesar Aguirre
Follow
Apr 16
How to Test Logging with FakeLogger
#
csharp
#
dotnet
#
beginners
#
testing
6
reactions
Comments
Add Comment
4 min read
Testing DateTime.Now Revisited: Using .NET 8.0 TimeProvider
Cesar Aguirre
Cesar Aguirre
Cesar Aguirre
Follow
Jul 8
Testing DateTime.Now Revisited: Using .NET 8.0 TimeProvider
#
csharp
#
dotnet
#
beginners
#
testing
5
reactions
Comments
Add Comment
4 min read
5 Unit Testing Best Practices I Learned from This NDC Conference Talk
Cesar Aguirre
Cesar Aguirre
Cesar Aguirre
Follow
Aug 12
5 Unit Testing Best Practices I Learned from This NDC Conference Talk
#
chsarp
#
dotnet
#
beginners
#
testing
2
reactions
Comments
Add Comment
5 min read
We're a place where coders share, stay up-to-date and grow their careers.
Log in
Create account