Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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,133
    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.