Search Unity

[Tutorial] Unit Testing in Unity

Discussion in 'Scripting' started by xjjon, Nov 29, 2018.

  1. xjjon

    xjjon

    Joined:
    Apr 15, 2016
    Posts:
    167
    I noticed a lot of Unity resources and tutorials don't talk about testing so I decided to write a tutorial going over the basics. It's targeted towards people who are comfortable with C# but want to take their code to the next level and leverage best practices and write clean code. Part of Unity's user base are the indie/hobbyist but there's no reason they shouldn't follow best practices as well.

    Tutorial can be found on my blog here.

    Comments, feedback, and requests would be appreciated. I plan to write more about this topic in the future and cover some more advanced testing techniques like mocking/stubbing and functional testing.
     
    Boz0r and Skelly1983 like this.
  2. Skelly1983

    Skelly1983

    Joined:
    Mar 9, 2017
    Posts:
    13
    I know it an old post but am shocked no one has thanked you for sharing this post, so I would like to take this moment to say thanks!
     
    Boz0r likes this.