Skip to content

Adolfi/UmbracoUnitTesting

Repository files navigation

Unit Testing Umbraco version 8.x

All example tests from the official Umbraco Documentation section on Unit Testing: https://our.umbraco.com/documentation/Implementation/Unit-Testing/

Tests included:

Some tests have been renamed or improved compared to the official documentation, mostly to be able to reuse models and controllers and reudece the size of each project. Every class in this solution has a summary with a link to the official documentation so any renaming should not be a problem.

How to use this project:

This solution contains two projects: A .Core project and a .Tests project. You'll notice that this solution does not contain any Umbraco website. This is intentional. Do not use this solution as a template or a base project. Use it as a reference and a source for inspiration to your own projects. Only the necessary assemblies to run each test have been installed such as:

  • UmbracoCms.Core
  • UmbracoCms.Web
  • NUnit
  • Moq

Read more

Go to adolfi.dev if you want to read more Umbraco and Unit Testing articles.

About

All example tests from the official Umbraco Documentation section on Unit Testing: https://our.umbraco.com/documentation/Implementation/Unit-Testing/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages