Makers Invaders

Challenges

Testing

Design

Challenges

Testing

tween = this.game.add.tween(enemy).to( { y: enemy.body.y + 5 }, 500, Phaser.Easing.Sinusoidal.InOut, true, this.game.rnd.integerInRange(0, 500), 1000, true);

Mock this!

1. Unit tests

The setup

Phaser logic

Challenges

Testing

2. e2e - the good news:

The harsh reality:

It is possible... if we would have had time to write all our matchers ourselves... Then write the tests.. Then the actual code.

Challenges

Makers Invaders

By Omar Alvarez