Search Unity

  1. All Pro and Enterprise subscribers: find helpful & inspiring creative, tech, and business know-how in the new Unity Success Hub. Sign in to stay up to date.
    Dismiss Notice
  2. Dismiss Notice

How to contribute tests for Unity's automated testing?

Discussion in 'General Discussion' started by Peter77, Oct 26, 2017.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    5,728
    I wonder if there is a way, for non UT employees, to contribute tests that are added to Unity's automated testing, thus run at least for every Unity release?
     
    hippocoder and Martin_H like this.
  2. superpig

    superpig

    Drink more water! Unity Technologies

    Joined:
    Jan 16, 2011
    Posts:
    4,462
    This is an awesome question! There's good news and bad news.

    The good news is that internally we have many tests using the same EditorTests and PlaymodeTests frameworks as ship in Unity itself. So if you write your own tests on top of those frameworks and get them to us, we should be able to slot them right into our test corpus and start running them very quickly.

    The bad news is that many of our tests are not yet using these frameworks - most notably graphics tests and performance tests, and also some integration tests. Those suites are still using our older internal frameworks, which are big, messy, and not really suitable for public consumption. We're gradually getting everything migrated, but it's going to take a while.

    So, it depends on what kind of test you want to write...
     
    Martin_H and Ryiah like this.
unityunity