DEV Community

UnitTesting101 Series' Articles

Back to Cesar Aguirre's Series
How to write good unit tests? Avoid these two issues
Cover image for How to write good unit tests? Avoid these two issues

How to write good unit tests? Avoid these two issues

9
Comments
3 min read
4 common mistakes when writing your first unit tests
Cover image for 4 common mistakes when writing your first unit tests

4 common mistakes when writing your first unit tests

10
Comments 2
4 min read
4 naming conventions to better name your tests
Cover image for 4 naming conventions to better name your tests

4 naming conventions to better name your tests

7
Comments
2 min read
What are fakes, stubs and mocks?
Cover image for What are fakes, stubs and mocks?

What are fakes, stubs and mocks?

4
Comments
3 min read
How to create test data with Object Mothers
Cover image for How to create test data with Object Mothers

How to create test data with Object Mothers

7
Comments
3 min read
How to write better assertions: 5 Best Practices
Cover image for How to write better assertions: 5 Best Practices

How to write better assertions: 5 Best Practices

5
Comments
3 min read
How to create custom assertions in C# with MSTest
Cover image for How to create custom assertions in C# with MSTest

How to create custom assertions in C# with MSTest

3
Comments 2
2 min read
Simplify your unit tests with auto-mocking and TypeBuilder
Cover image for Simplify your unit tests with auto-mocking and TypeBuilder

Simplify your unit tests with auto-mocking and TypeBuilder

6
Comments
5 min read
Unit Testing Best Practices: 6 tips for better names
Cover image for Unit Testing Best Practices: 6 tips for better names

Unit Testing Best Practices: 6 tips for better names

4
Comments
2 min read
Don't duplicate logic in Asserts: The most common mistake on unit testing
Cover image for Don't duplicate logic in Asserts: The most common mistake on unit testing

Don't duplicate logic in Asserts: The most common mistake on unit testing

2
Comments
3 min read
Unit Testing Best Practices: Organization & Test Data
Cover image for Unit Testing Best Practices: Organization & Test Data

Unit Testing Best Practices: Organization & Test Data

4
Comments
2 min read
TIL: How to write tests for HttpClient using Moq
Cover image for TIL: How to write tests for HttpClient using Moq

TIL: How to write tests for HttpClient using Moq

4
Comments
4 min read
How to write good unit tests: Use simple test values
Cover image for How to write good unit tests: Use simple test values

How to write good unit tests: Use simple test values

3
Comments
4 min read
Writing tests for logging messages
Cover image for Writing tests for logging messages

Writing tests for logging messages

7
Comments
4 min read
Let's refactor a test: AccountController
Cover image for Let's refactor a test: AccountController

Let's refactor a test: AccountController

1
Comments
4 min read
Let's refactor a test: PaymentProxy
Cover image for Let's refactor a test: PaymentProxy

Let's refactor a test: PaymentProxy

Comments
3 min read
How to Test Logging with FakeLogger
Cover image for How to Test Logging with FakeLogger

How to Test Logging with FakeLogger

5
Comments
4 min read