Skip to content

Commit

Permalink
Update unit-testing.md v12
Browse files Browse the repository at this point in the history
Updated to include all versions for SEO and clarity
  • Loading branch information
emmagarland committed Oct 18, 2023
1 parent aacf977 commit 40b569d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 12/umbraco-cms/implementation/unit-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: "A guide to getting started with unit testing in Umbraco"

# Unit Testing Umbraco

These examples inspire unit testing in Umbraco with Umbraco 9.x and 10.x, using [NUnit](https://nunit.org/), [Moq](https://github.com/moq/moq4), and [AutoFixture](https://github.com/AutoFixture/AutoFixture). There are many ways of testing Umbraco and there’s no right or wrong way.
These examples inspire unit testing in Umbraco with Umbraco 9.x, 10.x, 11.x and 12.x, using [NUnit](https://nunit.org/), [Moq](https://github.com/moq/moq4), and [AutoFixture](https://github.com/AutoFixture/AutoFixture). There are many ways of testing Umbraco and there’s no right or wrong way.

When testing components in Umbraco, such as controllers, helpers, services etc. these components often require that you provide a couple of dependencies in your classes using [dependency injection](../reference/using-ioc.md). This is because a lot of magic happens “under the hood” of Umbraco and these dependencies are needed for that magic to happen.

Expand Down

0 comments on commit 40b569d

Please sign in to comment.