Game Automation with Unity Tutorial #1

What is Unity ?

Unity is a cross-platform game engine developed by Unity Technologies, which is primarily used to develop both 3D and 2D video games for computers, consoles, and mobile devices.

Unity uses C# as the programming language. 2 IDE’s are commonly supported for Unity Development:-

  1. MonoDevelop:- Its the default IDE provided by Unity. For developers, it simplifies the process to port .NET applications created with Windows to Mac(or vice-versa), maintaining a single code base for all platforms. This IDE is integrated with Unity by default.
  2. Microsoft Visual Studio:- In most cases, this is the de-facto IDE for C#. Visual Studio 2017 Community Edition comes along with Unity itself.

Creating games is pretty easy with Unity. In case you don’t believe me, have a look at a small tutorial on how to create a Fruit Ninja game in Unity.

Testing Games created with Unity

Game Testing’s wiki page gives you an insight into how complex can testing a game can be. Broadly speaking, we can categorize Game testing into 2 categories:-

  1. Black Box Testing – The tester behaves like an end-user and does not worry about the internal working of the application.
  2. White Box Testing – The tester knows the application/code inside out and then performs the Quality check of each component.

Black box testing of games is a necessity but sometimes we neglect White Box testing. As Games grow bigger, they require frequent updates. We need to make sure that an update is not affecting the existing functionality. In the testing world, this is termed as regression testing.  This is where Game automation comes to the rescue as it can drastically reduce the time taken to ensure everything is working as expected or not. With short release cycles, it kind of becomes a necessity.

For Part 2, click here.

Happy Automating!

Nitin Mittal


One thought on “Game Automation with Unity Tutorial #1

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s