Search Unity

Question How to create reports from NUnit results

Discussion in 'Testing & Automation' started by liortal, May 3, 2020.

  1. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    Is there any simple way to create a nice report from the test result file ?

    For example - I'd like to display a pie chart with test categories (e.g: how many tests we have for each category).

    Is there any recommended framework or open source project that allows doing this in a simple way ?
     
  2. seans_unity3d

    seans_unity3d

    Unity Technologies

    Joined:
    Feb 28, 2017
    Posts:
    9
  3. NoTuxNoBux

    NoTuxNoBux

    Joined:
    Oct 2, 2020
    Posts:
    34
    It would be neat if JUnit output was supported out of the box, which is quite common for use in CI, such as Bitbucket Pipelines and GitLab CI. Currently game-ci advises using a Linux package to transform the output through an XML transformation, which works, but is suboptimal.

    Many testing tools in various languages support JUnit out of the box or through extension packages. This would also fit well into Unity's plans to add Docker/Container Support on the roadmap.
     
    MariuszGaljanVT likes this.