1 / 24

Test Plan Advanced Topics

Test Plan Advanced Topics. With Mario!. Mario Basic States. Small Mario Big Mario Fire Mario Starman Mario. Mario Basic Moves. Run Jump Throw Fireballs And Combinations: Run + Jump + Throw Fireballs Run + Jump Etc. Objects in Mario. Goombas Question Blocks

yori
Download Presentation

Test Plan Advanced Topics

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Test Plan Advanced Topics With Mario!

  2. Mario Basic States • Small Mario • Big Mario • Fire Mario • Starman Mario

  3. Mario Basic Moves • Run • Jump • Throw Fireballs • And Combinations: • Run + Jump + Throw Fireballs • Run + Jump • Etc.

  4. Objects in Mario • Goombas • Question Blocks • Power Ups (Starman, Fireflower, Mushroom) • Terrain (Ground, Pits, Pipes) • List goes on!

  5. Testing One Aspect • Mario vsGoomba Collision • Test each of Mario’s states • Test each of Mario’s moves • How can Mario interact with a Goomba?

  6. Collision with Goombaas Small Mario

  7. Collision with Goomba as Big Mario

  8. Collision with Goomba as Fire Mario

  9. Eliminating Redundant Tests • Two possible Normal results for hitting a Goomba:

  10. Mario State Penalties

  11. Collision with Goomba (Generalized)

  12. Safe Assumption? • If Penalty Interaction is independent of the source, yes! • Good coding will make this a good assumption. • Makes it easier to introduce additional elements, such as new enemies.

  13. Introducing New Enemies • What about the Piranha Plant? PENALTY

  14. Collision With Piranha Plant

  15. Collision With Piranha Plant

  16. Error Cases • Stuff that shouldn’t happen, but could (likely glitches). • Stuff that we know will cause runtime errors and can happen.

  17. Test for Every Glitch? • Time consuming. • Not really possible. • We don’t try to include glitches!

  18. Test for Likely Glitches • Most Mario enemies can be touched from any of four sides. • Piranha Plants should only be touched from three sides, since the bottom is attached to a pipe. • Should still test that fourth quadrant, as an error case, since this is an exception to the rule.

  19. Boundary Cases • The razor’s edge between two states.

  20. Boundary Cases are Precise • Exact Point which is the difference between one state (Stomp a Goomba) and another (Lose a Life). • Need Precise Values (Exact x,y coordinates)

  21. Collision with Goomba (Boundaries)

  22. Review: Types of Test Cases • Normal Cases • Test the normal states and interactions of objects. • Error Cases • Test known bugs and the effects of likely glitches. • Boundary Cases • Test the boundaries between normal states. • Also test boundaries from normal to error states.

  23. What types of cases are these?

  24. Questions? • Email your professor!! • mjspra2@uky.edu

More Related