User:Orpheon
System Testing
| Test Case ID | Requirement to test | Req ID | Assumptions | Test Data | Steps | Expected Result | Actual Result | Pass / Fail | Comments |
|---|---|---|---|---|---|---|---|---|---|
| STC-01 | Translating raw Data | RCF-1.1, RCF-1.2 | - |
|
|
Data file (.CSV format) with specified no. of samples is created in default directory | .CSV with correct number of samples is created in default directory. | Pass | |
| STC-02 | " | RCF-1.3 | Default file directory remains static |
|
|
Reading of input file progresses onto on-screen action. | Pressing up results in reading of data file and on-screen action | Pass | |
| STC-03 | Simulating the auto release of the bowling ball | RCF-2.1 | - |
|
|
Motion analysis algorithm scans through data points of file and returns ideal release point (high x-acceleration corresponding to minimum y_gyro value) . | Ball on screen moves with relatively greater velocity due to sharp swing, command console returns parameters which correspond to ideal point of release (min y_gyro as observed from .csv file). | Pass | Current implementation is not real-time, thus a static file is fed. |
| STC-04 | " | RCF-2.2 | - |
|
|
Once point of release is determined, ball will start rolling from start of alley | Ball moves with force proportional to initial acceleration conditions (according to F = m*a) and moves down the alley, from start to finish. | Pass | - |
| STC-05 | Simulating the graphics and physics of the game | RCF-3.1 | - |
|
|
Ball should maintain a certain trajectory based on raw data collected, and in this case - veer left. | Ball moves towards left side of alley after data input. | Pass | - |
| STC-06 | " (Lane & Pin collision) | RCF-3.2, RCF-3.3.1, RCF-3.3.4, RCF-3.3.5 | - |
|
|
Ball should smoothly collide with objects such as the lane and pins, the collisions and resulting displacements of which should be governed by appropriate physics. | Bullet physics engine correctly handles collision detection between ball & lane / ball & pins, while convex hulls are displaced and fall over according to speed and mass of ball colliding with them. Ball moves smoothly across flat lane. | Pass | - |
| STC-07 | " (Gutterball) | RCF-3.3.2, RCF-3.3.3 | - |
|
|
Ball falling into gutter should not fall out, nor should they become stuck. Any ball veering outside of the lane should be directed back into current lane and into gutter when appropriate. | Ball veers violently into side of lane, yet remains within current lane; falling into the gutter with insufficient speed to fall out, ball proceeds down to end of gutter. | Pass | - |
| STC-08 | Scoring system | RCF-4.1, RCF-4.2 | - |
|
|
Command prompt update score on a bowl-by-bowl basis, and conforms to the scoring rules of Ten Pin Bowling, i.e. first turn: [7, 0, 7], second turn: [7, 3, 10], Spare. | Command prompt prints score to screen on each turn, and correctly updates score to reflect official scoring rules. | Pass | - |
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.