SIM001

SIM001 › Flying in the sim › The simulator

Test report

Crashing and starting again › Nose it in, then reset passed

As a pilot, I want to pick the plane up again straight after a crash, so that a mistake costs seconds, not a repair.

The test behind the tutorial Crashing and starting again: every step it takes, what it checks and what it saw.

Start

From the setup of The simulator.

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 throttle is 100 % and the pitch stick is forward

When the throttle is 100 %
  And the pitch stick is forward
Then the plane is crashed

Expected behaviour: A throw with the nose down crashes the plane.

Screenshot

2 When the throttle is 0 % and the pitch stick is centred

When the throttle is 0 %
  And the pitch stick is centred
Then the throttle is 0 %
Screenshot
  • the throttle is 0 % · the story

3 When the pilot resets the plane

When the pilot resets the plane
Then the plane is in hand

Expected behaviour: Reset picks the plane back up.

Screenshot