Skip to content

Testing

Fritz Mahnke edited this page Nov 18, 2024 · 3 revisions

Procedures

Calibration

Test cases

Repeat these test cases for new software versions.

  • Inputs: Limits: 0-10, points: 0, 10, 20
  • Expected results: steps: 2, error: 0
  • Actual results:
  • Inputs: Limits: 0-20, points: 10, 20, 30
  • Expected results: steps: 2, error: 0
  • Actual results:

Simulator

  1. Enter limits in the System State area.
  2. Use position (relative): up to move axis to the first point.
  3. Press * on keypad to mark the point.
  4. Repeat steps 2-3 for the midpoint and maximum.
  5. Verify results shown are as expected.
  6. Use position (absolute): up to verify that the axis is currently at the maximum limit and does not move further.
    1. Use position (absolute): down to verify that the axis moves through the range and does not move past the minimum.
  7. Select position (absolute): cm. Repeat step 6 with metric units.

Results

Simulator

0.4.0

Calibration test cases
  • Inputs: Limits: 0-10, points: 0, 10, 20
  • Expected results: steps: 2, error: 0
  • Actual results: steps: 2, error: 0
  • Inputs: Limits: 0-10, points: 10, 20, 30
  • Expected results: steps: 2, error: 0
  • Actual results: steps: 2, error: 0
    • position (absolute): up/down doesn't correctly move axis.
    • position (absolute): cm shows max as 15, should be 10
Other
  • steps per increment is not displayed correctly before beginning calibration procedure.
    • Calibration display shows garbage in steps field
    • System State: ... stepsPerIncrement shows a negative value. Probably related.
  • distance tracking in both up/down directions is not yet implemented.

Clone this wiki locally