DEV Community

Automated Testing Series' Articles

Back to Anthony Fung's Series
4 Types of Tests to Help Keep Your Software's Bug Count Low
Cover image for 4 Types of Tests to Help Keep Your Software's Bug Count Low

4 Types of Tests to Help Keep Your Software's Bug Count Low

6
Comments 2
3 min read
7 Easy Steps to Writing Your First C# Unit Test
Cover image for 7 Easy Steps to Writing Your First C# Unit Test

7 Easy Steps to Writing Your First C# Unit Test

3
Comments
5 min read
Parameterise Your Tests: Use this One Simple Trick to Increase Test Coverage
Cover image for Parameterise Your Tests: Use this One Simple Trick to Increase Test Coverage

Parameterise Your Tests: Use this One Simple Trick to Increase Test Coverage

1
Comments
3 min read
Isolate your Components in Tests: How to Mock your Dependencies
Cover image for Isolate your Components in Tests: How to Mock your Dependencies

Isolate your Components in Tests: How to Mock your Dependencies

12
Comments 2
4 min read
Don't Restrict Yourself to Mocks: Test your Components Running Together
Cover image for Don't Restrict Yourself to Mocks: Test your Components Running Together

Don't Restrict Yourself to Mocks: Test your Components Running Together

3
Comments
4 min read
Testing Everything Works Perfectly Once All the Pieces Are in Place
Cover image for Testing Everything Works Perfectly Once All the Pieces Are in Place

Testing Everything Works Perfectly Once All the Pieces Are in Place

3
Comments
5 min read
How Manual Testing is Still Important Even with Automated Tests
Cover image for How Manual Testing is Still Important Even with Automated Tests

How Manual Testing is Still Important Even with Automated Tests

Comments 2
4 min read
Moq Techniques: How to Pick the Best Syntax when Configuring Your Mocks
Cover image for Moq Techniques: How to Pick the Best Syntax when Configuring Your Mocks

Moq Techniques: How to Pick the Best Syntax when Configuring Your Mocks

1
Comments
4 min read
Advanced Moq Techniques: Methods that Do More than Return Values
Cover image for Advanced Moq Techniques: Methods that Do More than Return Values

Advanced Moq Techniques: Methods that Do More than Return Values

7
Comments
4 min read
What is Async Programming and How Does it Affect Unit Tests?
Cover image for What is Async Programming and How Does it Affect Unit Tests?

What is Async Programming and How Does it Affect Unit Tests?

5
Comments
5 min read
How to Unit Test and Mock Services with Date and Time Logic
Cover image for How to Unit Test and Mock Services with Date and Time Logic

How to Unit Test and Mock Services with Date and Time Logic

8
Comments
4 min read
How to Check a Method was Called on a Mock in Moq
Cover image for How to Check a Method was Called on a Mock in Moq

How to Check a Method was Called on a Mock in Moq

8
Comments 4
4 min read
How to Check How Many Times Mocked Methods Are Called in Unit Tests
Cover image for How to Check How Many Times Mocked Methods Are Called in Unit Tests

How to Check How Many Times Mocked Methods Are Called in Unit Tests

5
Comments
3 min read
How to Set Up Mocks in Unit Tests to Return Default Objects
Cover image for How to Set Up Mocks in Unit Tests to Return Default Objects

How to Set Up Mocks in Unit Tests to Return Default Objects

5
Comments
3 min read
How to Use Strict Mocking in Moq to Automatically Verify All Setups
Cover image for How to Use Strict Mocking in Moq to Automatically Verify All Setups

How to Use Strict Mocking in Moq to Automatically Verify All Setups

2
Comments 2
4 min read
What Alternatives Are There to Use in Unit Tests Instead of Mocks?
Cover image for What Alternatives Are There to Use in Unit Tests Instead of Mocks?

What Alternatives Are There to Use in Unit Tests Instead of Mocks?

5
Comments 3
4 min read
How to Add Tests for Existing Code with Methods That Aren’t Public
Cover image for How to Add Tests for Existing Code with Methods That Aren’t Public

How to Add Tests for Existing Code with Methods That Aren’t Public

6
Comments
5 min read
3 Ways to Organise and Tidy Your C# Unit Test Projects
Cover image for 3 Ways to Organise and Tidy Your C# Unit Test Projects

3 Ways to Organise and Tidy Your C# Unit Test Projects

3
Comments
5 min read
3 Useful NUnit Attributes for Your C# Tests You Shouldn’t Forget About
Cover image for 3 Useful NUnit Attributes for Your C# Tests You Shouldn’t Forget About

3 Useful NUnit Attributes for Your C# Tests You Shouldn’t Forget About

5
Comments 1
5 min read
How to Easily Create New Mock Instances in Unit Tests
Cover image for How to Easily Create New Mock Instances in Unit Tests

How to Easily Create New Mock Instances in Unit Tests

6
Comments 2
4 min read
Simplify Unit Tests by Storing Complex Data in Resource Files
Cover image for Simplify Unit Tests by Storing Complex Data in Resource Files

Simplify Unit Tests by Storing Complex Data in Resource Files

6
Comments
5 min read
How to Make Sure Your Test Resources Are Always Available
Cover image for How to Make Sure Your Test Resources Are Always Available

How to Make Sure Your Test Resources Are Always Available

4
Comments
3 min read
How to Make JSON String Comparisons in Unit Tests Less Brittle
Cover image for How to Make JSON String Comparisons in Unit Tests Less Brittle

How to Make JSON String Comparisons in Unit Tests Less Brittle

5
Comments 5
4 min read
3 Ways to Include JSON Directly in Your C# Test Code
Cover image for 3 Ways to Include JSON Directly in Your C# Test Code

3 Ways to Include JSON Directly in Your C# Test Code

2
Comments 3
4 min read
How to Write NUnit Tests for Many Classes with Generic Test Fixtures
Cover image for How to Write NUnit Tests for Many Classes with Generic Test Fixtures

How to Write NUnit Tests for Many Classes with Generic Test Fixtures

3
Comments
3 min read
Parallelise Your NUnit Tests to Be More Productive and Waste Less Time
Cover image for Parallelise Your NUnit Tests to Be More Productive and Waste Less Time

Parallelise Your NUnit Tests to Be More Productive and Waste Less Time

10
Comments
6 min read
How to Measure the Effectiveness of Unit Tests Using Code Coverage
Cover image for How to Measure the Effectiveness of Unit Tests Using Code Coverage

How to Measure the Effectiveness of Unit Tests Using Code Coverage

2
Comments
4 min read