DEV Community

Anthony Fung profile picture

Anthony Fung

Full stack Angular and .NET Web developer

Writing Debut
One Year Club
Warm Welcome
32 Week Community Wellness Streak
Beloved Comment
16 Week Community Wellness Streak
16 Week Writing Streak
8 Week Community Wellness Streak
8 Week Writing Streak
4 Week Community Wellness Streak
4 Week Writing Streak
2 Week Community Wellness Streak
Absolute vs. Relative Co-ordinates for Defining an SVG Path

Absolute vs. Relative Co-ordinates for Defining an SVG Path

2
Comments
4 min read

Want to connect with Anthony Fung?

Create an account to connect with Anthony Fung. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
Change Colours in a Bitmap Image using Browser CSS Filters

Change Colours in a Bitmap Image using Browser CSS Filters

Comments
3 min read
Using Browser Filters for Mouseover Effects in Web apps

Using Browser Filters for Mouseover Effects in Web apps

1
Comments
3 min read
Dynamically Change PNG Icon Colours for Mouseover Effects

Dynamically Change PNG Icon Colours for Mouseover Effects

1
Comments
3 min read
Convert Simple Icon Designs from Paper Sketches to SVG Code

Convert Simple Icon Designs from Paper Sketches to SVG Code

Comments
5 min read
Dynamically Change SVG Icon Colours for Mouseover Effects

Dynamically Change SVG Icon Colours for Mouseover Effects

Comments 1
4 min read
An Overview of Scaling SVG vs. Bitmap (JPG, PNG) Images

An Overview of Scaling SVG vs. Bitmap (JPG, PNG) Images

1
Comments
3 min read
SVG: An Introduction and Overview vs. Bitmap Formats

SVG: An Introduction and Overview vs. Bitmap Formats

1
Comments
3 min read
JPG vs PNG: Pros and Cons of Each Format When Building Apps

JPG vs PNG: Pros and Cons of Each Format When Building Apps

1
Comments
4 min read
Using Virtual Desktops to Stay Organised and Productive

Using Virtual Desktops to Stay Organised and Productive

3
Comments
4 min read
Static Helper Class vs. Injected Service: Pros and Cons

Static Helper Class vs. Injected Service: Pros and Cons

Comments
4 min read
How Programming to an Interface Affects Testability

How Programming to an Interface Affects Testability

2
Comments
4 min read
How to Replace Third-Party Services at Development Time

How to Replace Third-Party Services at Development Time

2
Comments
4 min read
How to Refactor Duplicate Methods with Subtle Differences

How to Refactor Duplicate Methods with Subtle Differences

2
Comments
4 min read
How Coding to an Interface Can Reduce the Impact of Code Changes

How Coding to an Interface Can Reduce the Impact of Code Changes

7
Comments
3 min read
How Coding to an Interface Can Increase Your Code’s Flexibility

How Coding to an Interface Can Increase Your Code’s Flexibility

6
Comments 2
3 min read
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
Parallelise Your NUnit Tests to Be More Productive and Waste Less Time

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

4
Comments
6 min read
How to Write NUnit Tests for Many Classes with Generic Test Fixtures

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

1
Comments
3 min read
3 Ways to Include JSON Directly in Your C# Test Code

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

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

How to Make JSON String Comparisons in Unit Tests Less Brittle

3
Comments 5
4 min read
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
Simplify Unit Tests by Storing Complex Data in Resource Files

Simplify Unit Tests by Storing Complex Data in Resource Files

4
Comments
5 min read
How to Easily Create New Mock Instances in Unit Tests

How to Easily Create New Mock Instances in Unit Tests

5
Comments 2
4 min read
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

4
Comments 1
5 min read
3 Ways to Organise and Tidy Your C# Unit Test Projects

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

2
Comments
5 min read
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

5
Comments
5 min read
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 Use Strict Mocking in Moq to Automatically Verify All Setups

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

3
Comments 2
4 min read
How to Set Up Mocks in Unit Tests to Return Default Objects

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

8
Comments
3 min read
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

4
Comments
3 min read
How to Check a Method was Called on a Mock in Moq

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

11
Comments 4
4 min read
How to Unit Test and Mock Services with Date and Time Logic

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

11
Comments
4 min read
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
Advanced Moq Techniques: Methods that Do More than Return Values

Advanced Moq Techniques: Methods that Do More than Return Values

8
Comments
4 min read
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
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
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
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
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
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
7 Easy Steps to Writing Your First C# Unit Test

7 Easy Steps to Writing Your First C# Unit Test

4
Comments
5 min read
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

8
Comments 2
3 min read
What Does Design, Maintainability, and Testability Have to do with... Food?

What Does Design, Maintainability, and Testability Have to do with... Food?

2
Comments
5 min read
Using Dependency Injection and Service Locators to get References in C#

Using Dependency Injection and Service Locators to get References in C#

Comments
4 min read
Composition or Inheritance: What’s better?

Composition or Inheritance: What’s better?

15
Comments 22
5 min read
Fixing Bugs and Preventing Regressions with More than One Test Environment

Fixing Bugs and Preventing Regressions with More than One Test Environment

1
Comments
4 min read
Splitting the Monolith: Pros and Cons of Monolithic and Microservice Architecture

Splitting the Monolith: Pros and Cons of Monolithic and Microservice Architecture

1
Comments
5 min read
Using Git to Successfully Push a Modified or Rebased Branch

Using Git to Successfully Push a Modified or Rebased Branch

Comments
5 min read
Stop Committing Secrets to Your Git Repositories

Stop Committing Secrets to Your Git Repositories

2
Comments
5 min read
Slice, Dice, and Squash Your Git Commit History

Slice, Dice, and Squash Your Git Commit History

9
Comments
5 min read
The Secret of Tidy Git Repositories: When Best to Merge and Rebase

The Secret of Tidy Git Repositories: When Best to Merge and Rebase

3
Comments 2
5 min read
The Secret of Tidy Git Repositories: What Merging and Rebasing Mean

The Secret of Tidy Git Repositories: What Merging and Rebasing Mean

2
Comments
4 min read
Don’t Underestimate How Much Progress You Have Made

Don’t Underestimate How Much Progress You Have Made

3
Comments 2
4 min read
Made a Mistake in Git? Keep Calm and Hit Undo

Made a Mistake in Git? Keep Calm and Hit Undo

1
Comments
5 min read
Dynamic Data in the Statically Typed World of C#

Dynamic Data in the Statically Typed World of C#

Comments
5 min read
5 Visual Studio Code Extensions to Boost Web Development Productivity

5 Visual Studio Code Extensions to Boost Web Development Productivity

4
Comments
3 min read
loading...