SIM001

SIM001 › Games › Recreation

Test report

Your first pylon race › Start, throw at GO, fly five laps passed

As a pilot, I want to race other planes round the pylons, so that I can practise fast, tight turns against somebody.

The test behind the tutorial Your first pylon race: 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 race

When the pilot starts a race
Then the game is a race

Expected behaviour: G starts a race.

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 game clock is running

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

Screenshot

4 When the pilot flies a lap

When the pilot flies a lap

Expected behaviour: A lap is once round the outside of the pylons.

Screenshot

5 When the pilot flies a lap

When the pilot flies a lap

Expected behaviour: A lap is once round the outside of the pylons.

Screenshot

6 When the pilot flies a lap

When the pilot flies a lap

Expected behaviour: A lap is once round the outside of the pylons.

Screenshot

7 When the pilot flies a lap

When the pilot flies a lap

Expected behaviour: A lap is once round the outside of the pylons.

Screenshot

8 When the pilot flies a lap

When the pilot flies a lap
Then the lap count is 5
  And the game clock is stopped

Expected behaviour: A lap is once round the outside of the pylons, The last lap finishes the race.

Screenshot