Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug PrebuildSetupAttribute apply on assembly not trigger

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

  1. bulijite


    Jun 24, 2021
    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.