Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Assembly Definition File With Nunit In 2019.2.0a11

Discussion in '2019.2 Beta' started by Held0fTheWelt, Apr 13, 2019.

  1. Held0fTheWelt

    Held0fTheWelt

    Joined:
    Sep 29, 2015
    Posts:
    173
    Something changed during update, and the checkbox disappeared in asmdef.
    It changed to a Unity Constraint, saying "UNITY_INCLUDE_TESTS", which i am fine with.
    The problem is: It does not seem to work !?!
    Am i missing a point ?

    The type or namespace name 'NUnit' could not be found (are you missing a using directive or an assembly reference?)
     
  2. Sibz9000

    Sibz9000

    Joined:
    Feb 24, 2018
    Posts:
    149
    It's in it own package along with test runner
    Custom NUnit
    Test Framework

    But I am not sure how to get [UnityTest] back.

    Edit: fixed had to add UnityEngine.TestRunner to asmdef file.
     
    Last edited: Apr 13, 2019
    Held0fTheWelt likes this.