Skip to content

Commit

Permalink
Update unit-testing.md v10
Browse files Browse the repository at this point in the history
  • Loading branch information
emmagarland committed Oct 18, 2023
1 parent 6dd4148 commit aacf977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 10/umbraco-cms/implementation/unit-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,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 aacf977

Please sign in to comment.