Skip to content

Commit

Permalink
Update unit-testing.md v11
Browse files Browse the repository at this point in the history
  • Loading branch information
emmagarland authored Oct 18, 2023
1 parent 559a415 commit 6dd4148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 11/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 6dd4148

Please sign in to comment.