Testing

Why Testing

There’s a lot of benefits that come with testing but primarily we need to test our code for these reasons:

  • It discourage tight coupling
  • It Improves our design
  • It saves time in the long run

How

We’re going to use GUT plugin for testing, it works like any other testing tool so there’s no need of further explanation because it’s just generic unit testing.

One thing to note that if the scene really needs a global data at the very least use depedency injection instead of tight coupling.