SIM001

SIM001 › Games › Recreation

Test report

A game of tag › Tag, then get tagged passed

As a pilot, I want to chase other planes, and get away from them, so that I can practise to fly near other planes.

The test behind the tutorial A game of tag: every step it takes, what it checks and what it saw.

Start

From the setup of Recreation.

Everything it starts with
Given the throttle is 0 %
  And the pitch stick is centred
  And the roll stick is centred
  And the wings are level
  And the flight controller is missing
  And the flight mode is MANUAL
  And the rates are high
  And differential thrust is on
  And the view is line of sight
  And auto-zoom is on
  And the help screen is hidden
  And the sim is running
  And the battery is at least 99 %
  And the game is free flight
  And the game clock is off
  And the plane is in hand
Screenshot
  • Every arranged state read back as arranged (16)

1 When the pilot starts a game of tag

When the pilot starts a game of tag
Then the chaser is you

Expected behaviour: T starts a game of tag.

Screenshot

2 When the throttle is 80 %

When the throttle is 80 %
Then the game clock is counting down
  And the plane is flying

Expected behaviour: Throttle up throws the plane, The game waits for you to take off.

Screenshot

3 When the countdown ends

When the countdown ends
Then the opponents are flying

Expected behaviour: At GO the computer pilots throw their planes.

Screenshot

4 When the pilot tags an opponent

When the pilot tags an opponent
Then the chaser is an opponent

Expected behaviour: A touch passes it on.

Screenshot

5 When the chaser tags the plane

When the chaser tags the plane
Then the chaser is you

Expected behaviour: The chaser comes after you.

Screenshot