Create an integration tests project

To prepare a project for your integration tests, you must perform the following:

  1. Create an empty project.
    In the solution of your Sitefinity CMS application, create an empty class library project.

    NOTE: References to the testing framework assemblies Gallio.dll and MbUnit.dll are automatically added when you installed the NuGet packages.

  2. Mark the assembly with the IntegrationTests attribute.
    In the AssemblyInfo file, add the following attribute:
    [assembly: Telerik.WebTestRunner.Server.Attributes.IntegrationTests()]

    It specifies that the assembly contains integration tests. Later the Sitefinity CMS web test runner will use it to load the tests.

  3. Add a reference in your test project to your Sitefinity web application
    Add a reference to your Sitefinity CMS project in the test project.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?