Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nathan Morris 2 posts 72 karma points
    Sep 29, 2022 @ 09:37
    Nathan Morris
    0

    Issues with UmbracoIntegrationTest package with Umbraco v10

    Hi there,

    I'm trying to use the Umbraco.Cms.Tests.Integration library and receive errors when running an empty test.

    Previously, I have been using this testing library with success on Umbraco v9.5.0

    I am now using:

    • Umbraco.Cms version 10.0.0
    • Umbraco.Cms.Tests.Integration version 10.0.0

    The error I get is:

    System.ArgumentNullException : Value cannot be null. (Parameter 'config')` TearDown : System.NullReferenceException : Object reference not set to an instance of an object.`
    

    I've followed the issue in GitHub

    https://github.com/umbraco/Umbraco-CMS/issues/12911

    The proposed fix was to add a virtual method SetUpTestConfiguration

    https://github.com/umbraco/Umbraco-CMS/pull/12928

    I have checked all v10 versions of Umbraco.Cms.Tests.Integration and this virtual method does not exist (looks like its just in the v10/dev branch).

    Is there any way to use this testing library with Umbraco v10, until this fix is published to the package?

    Has anyone had success using this library with Umbraco v10, who can share some insights please?

  • Nathan Morris 2 posts 72 karma points
    Sep 20, 2023 @ 10:08
    Nathan Morris
    0

    Is there any updates on this for Umbraco 11, can we now use this library out of the box?

Please Sign in or register to post replies

Write your reply to:

Draft