Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

[UnityTest] for pre-defined assemblies?

Discussion in 'Testing & Automation' started by techmage, Feb 28, 2020.

  1. techmage

    techmage

    Joined:
    Oct 31, 2009
    Posts:
    2,102
    I would like to use some of the new UnityTest tools, but the the issue is I am an older codebase that is very diffucult to move into assembly definition files, and out of the pre-defined assemblies.

    Is there anyway at all to do PlayMode integration tests on the pre-defined assembles?
     
  2. wpatel

    wpatel

    Joined:
    Sep 27, 2018
    Posts:
    9
    I don't think you can. I tried playing with it just now.
    In 2018 you were able to, but I can't get it working in 2019.

    Can you not create a .asmdef file in your Assets folder?
    That should be the simplest way to add the ref to your test assembly.
     
unityunity