Search Unity

Bug PrebuildSetupAttribute apply on assembly not trigger

Discussion in 'Testing & Automation' started by bulijite, Mar 8, 2022.

  1. bulijite

    bulijite

    Joined:
    Jun 24, 2021
    Posts:
    1
    PrebuildSetupAttribute is a attribute defined in UnityEngine.TestRunner, when applying this attribute on a assembly, test framework search all the assembly that reference UnityEditor.TestRunner, which means our test assembly must explicit reference UnityEditor.TestRunner code and the attribute would work.