Skip to content
Scott M Sunarto edited this page Dec 17, 2016 · 9 revisions

NOTE: Track joins are only detected on block updates at the moment. Until this is fixed you will need to trigger one by breaking a block adjacent to the track to update. This is shown in the gifs

##Setup Test
Verify the game does not crash or hang at any of the following steps.

  1. Download or update the Rails Module
  2. Create a new world with only it an it's dependencies active
  3. Verify the world is created and loads.
  4. Verify your inventory contains 1 Locomotive, 1 Minecart, 1 Spanner and 99 Rails.

##Rail Position Tests Use give Rails:Rails to get more track as needed.

###Corner Joint Corner.gif

  1. Place three rails in an elbow bend
  2. Check the centre rail has changed to a bend

###Tee Joint T.gif

  1. Place four rails in a T-shape
  2. Check that the centre rail has turned into a junction

###Straight Track Straight.gif

  1. Place three rails in a straight line
  2. Check they all snap to face the same way

###Sloped Track Slope.gif

  1. Place three tracks in a line, with the end one elevated on one block
  2. Verify the middle track is sloped upwards towards the elevated block

###Inverted Tee Invert T.gif

  1. Create a Tee joint as detailed Above
  2. Press e on it with the spanner
  3. Verify the direction has switched
  4. Press e on it with the spanner again
  5. Verify the direction has switched back

##Vehicle Tests

###Locomotive

  1. Place tracks in a small loop (eg 4x8 blocks)
  2. Place a Locomotive on the loop
  3. Verify it appears and is on the tracks
  4. Activate it by pressing e over it
  5. Verify it moves around the loop smoothly without pausing or de-railing
  6. Deactivate it by pressing e again over it
  7. Verify it quickly stops
  8. Left click the locomotive and verify it is destroyed

###Minecart

  1. Place tracks in a small loop (eg 4x8 blocks)
  2. Place a minecart on the loop
  3. Verify it appears and is on the tracks
  4. Enter it by pressing e over it
  5. Verify you enter the cart
  6. Move the cart by holding the forward arrow
  7. Verify the cart moves around the loop
  8. Release the forward arrow
  9. Verify the cart does not stop
  10. Exit the cart using e over it again
  11. Destroy the cart by left clicking it
  12. Verify the cart is destroyed

##Linkage

  1. Place tracks in a small loop (eg 4x8 blocks)
  2. Place a locomotive on the track
  3. Place a minecart behind the locomotive
  4. Equip the spanner
  5. Right click the locomotive
  6. Verify the cart turns green when you hover over it
  7. Right click the cart
  8. Un-equip the spanner
  9. Press e on the locomotive
  10. Verify both it and the cart start moving
  11. Press e on the locomotive again
  12. Verify both it and the cart stop moving
  13. Equip the spanner again
  14. Right click on the locomotive
  15. Verify the cart turns red when you hover over it.
  16. Right click the minecart
  17. Un-equip the spanner
  18. Press e on the locomotive
  19. Verify only the locomotive moves
Clone this wiki locally