Template:Ice hockey box/testcases
Jump to navigation
Jump to search
Test cases using the Test_case template
This section uses the Template:Test_case to stage the test cases in an effort to eliminate potential for error in test creation (e.g., typos between main & sandbox, missed parameters, etc).
The Test_case template will automatically display both the Main template for Ice hockey box as well as Ice hockey box/sandbox.
Test_case 0: Reasonable Data
{{Ice hockey box}}
February 15, 2006 13:05 | Italy ![]() | 2 – 7 (0–1, 2–5, 0–1) | ![]() | Palasport Olimpico Attendance: 8575 |
Game reference | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jason Muzzatti | Goalies | Martin Brodeur | Referee: Thomas Andersson (Sweden) | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
20 min | Penalties | 12 min | |||||||||||||||||||||||||||
20 | Shots | 50 |
February 15, 2006 13:05 | Italy ![]() | 2 – 7 (0–1, 2–5, 0–1) | ![]() | Palasport Olimpico Attendance: 8575 |
Game reference | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jason Muzzatti | Goalies | Martin Brodeur | Referee: Thomas Andersson (Sweden) | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
20 min | Penalties | 12 min | |||||||||||||||||||||||||||
20 | Shots | 50 |
Test_case 1: Missing Data
{{Ice hockey box}}
February 15, 2006 13:05 | Italy ![]() | 2 – 7 (0–1, 2–5, 0–1) | ![]() | Palasport Olimpico Attendance: 8575 |
Game reference | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jason Muzzatti | Goalies | Martin Brodeur | Referee: Thomas Andersson (Sweden) | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
20 min | Penalties | 12 min | |||||||||||||||||||||||||||
20 | Shots | 50 |
February 15, 2006 13:05 | Italy ![]() | 2 – 7 (0–1, 2–5, 0–1) | ![]() | Palasport Olimpico Attendance: 8575 |
Game reference | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jason Muzzatti | Goalies | Martin Brodeur | Referee: Thomas Andersson (Sweden) | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
20 min | Penalties | 12 min | |||||||||||||||||||||||||||
20 | Shots | 50 |
Test cases created manually
This section has test cases created by-hand (without the use of the Test_case template).
Manual Tests
Main template
February 15, 2006 13:05 | Italy ![]() | 2 – 7 (0–1, 2–5, 0–1) | ![]() | Palasport Olimpico Attendance: 8575 |
Game reference | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jason Muzzatti | Goalies | Martin Brodeur | Referee: Thomas Andersson (Sweden) | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
20 min | Penalties | 12 min | |||||||||||||||||||||||||||
20 | Shots | 50 |
Sandbox template
February 15, 2006 13:05 | Italy ![]() | 2 – 7 (0–1, 2–5, 0–1) | ![]() | Palasport Olimpico Attendance: 8575 |
Game reference | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jason Muzzatti | Goalies | Martin Brodeur | Referee: Thomas Andersson (Sweden) | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
20 min | Penalties | 12 min | |||||||||||||||||||||||||||
20 | Shots | 50 |