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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Unit Tests

Discussion in 'Unity Build Automation' started by just_david, Oct 14, 2015.

  1. just_david

    just_david

    Joined:
    Apr 30, 2015
    Posts:
    9
    Greetings reader,

    About a year ago there's been a post asking about automated unit tests in the Cloud.
    Responses where very positive but there's been no report of it since. How's the prospect of this feature?

    David
     
  2. patrickc

    patrickc

    Unity Technologies

    Joined:
    Jan 23, 2015
    Posts:
    67
    We're working on support for Unity Test Tools in Cloud Build, and are aiming to launch it before the end of the year.

    Cheers,
    Patrick
     
  3. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    881
    Hello, @patrickc! Did any of that support for unity test tools make it into cloud build as you guys had hoped? This and integration with Github pull request builds are the only things keeping us on Jenkins. We could probably live without the pull request integration, but not without running tests on commits. Have you guys had any luck on moving this forward yet?

    Thanks!
     
  4. unitychrism

    unitychrism

    Unity Technologies

    Joined:
    Sep 16, 2015
    Posts:
    122
    Support has been added for Unit Tests using the Unity Test Tools, and you will now see a 'Tests' tab within the details for each build. Integration tests are not yet supported.

    As for the PR build feature request, that's a prime candidate for addition to our Feedback site - Slack and GitHub integrations come up often and the feedback site allows us to measure demand for these features.

    Thanks :)
     
    liortal likes this.
  5. mred-tcg

    mred-tcg

    Joined:
    Sep 27, 2015
    Posts:
    3
    What should the Unity Cloud Build configuration option "Unit Test Method" be set to when using the integrated Editor Test Runner in Unity 5.6?
     
    G-Brothers likes this.
  6. saiichihashimoto

    saiichihashimoto

    Joined:
    Apr 18, 2017
    Posts:
    5
    Good question. Doesn't seem to work for me with the default value.