Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

What options do I have for Automation and Unit Testing In Unity?

Discussion in 'Testing & Automation' started by tsibiski, May 22, 2019.

  1. nikhilUnity26

    nikhilUnity26

    Joined:
    Mar 26, 2024
    Posts:
    1
    Is there any tool which would support the following points for unity based test automations:
    1- supports unit testing
    2- supports functional testing
    3- doesn't required license
    4- doesn't required source code
     
  2. tsibiski

    tsibiski

    Joined:
    Jul 11, 2016
    Posts:
    614
    The only one that I know of that supports both #1 and #2 is Trilleon. Trilleon satisfies #1, #2, and #3. But you will need to download the source code. It is not a DLL. Other than that, I don't think any of these will satisfy all 4 points.
     
    jGate99 likes this.
  3. jGate99

    jGate99

    Joined:
    Oct 22, 2013
    Posts:
    1,982
    Is Trilleon works with Unity 6 and being maintained?
     
  4. tsibiski

    tsibiski

    Joined:
    Jul 11, 2016
    Posts:
    614
    I haven't tried it with Unity 6. As soon as a near-final preview version is ready (second half of this year), I will definitely try it out and make updates.

    That being said, it is only being maintained to fix issues I find or issues that users bring up - which I haven't gotten many complaints/issues, so few changes have been made lately. I address any problems in it, but I am not adding content and features to it.
     
    Last edited: Apr 9, 2024
    jGate99 likes this.
  5. timeapusok

    timeapusok

    Joined:
    Apr 15, 2020
    Posts:
    59
    Hey @tsibiski,

    I just realised that the download and a few other information related to AltUnity Tester(now AltTester) is outdated. I made a few updates, could you place replace the existing description with the following:

    AltTester

    It's an end-to-end UI test automation tool allowing you to run tests on real devices (mobile, PCs, etc.) or inside the Unity Editor. It supports tests written in C#, Python and Java.It'll help you to find elements and get all their properties and also to simulate any kind of device input. The desktop app has recording feature, allowing you to generate tests automatically based on recorded actions.

    Automation Testing:
    Unit Testing: X
    Full Framework: X
    CI Integration:
    External Driver: (it can use Appium to interact with the game)
    Report Generation: (test results and reports inside unity editor for C#)
    Parallel Execution:
    Custom Editor Window(s):
    Multiplayer Testing:

    website & download link: https://alttester.com/tools/
    github: https://github.com/alttester
    wiki: https://alttester.com/docs/sdk/latest/#
    discord server for questions and support: https://discord.gg/uZrah5U
     
  6. tsibiski

    tsibiski

    Joined:
    Jul 11, 2016
    Posts:
    614
    Updated!
     
  7. unity_BEC726FCFE7664D6BD73

    unity_BEC726FCFE7664D6BD73

    Joined:
    Apr 18, 2024
    Posts:
    4
    Can AltTester be used for asynchronous testing? We'd like to run our tests from the Unity testrunner using AltTester.
    Or from the Altrunner directly but test needs to be async. Can it be done?

    We're working on integration testing, not e2e.