Skip to learning content
VibeDroneFrom idea to drone design
Start designing
Skip to lesson
← All courses15 · Verify · Advanced · 35 min
DRONE ENGINEERING · LESSON 15 OF 20

Test design, engineering evidence and reproducibility

Design independent positive, negative and boundary tests while distinguishing a passing classroom example from measured engineering evidence.

Test oracleBoundary fixturesArtifact digestEvidence maturity
LEARNING OBJECTIVES

What you'll understand

  1. Write assertions with independent expected outcomes and clear failure cases
  2. Classify synthetic, executed, observed and reviewed evidence
  3. Plan reproducibility checks, traceability and the correct escalation for inconclusive findings
CONCEPTS IN CONTEXT

Terms that matter

Test oracle

An independently justified expected outcome or rule against which software behavior is evaluated for a particular test case.

Boundary fixtures

Review this concept in the lesson exercise and related engineering workspace. The glossary does not yet contain a source-qualified definition.

Artifact digest

Review this concept in the lesson exercise and related engineering workspace. The glossary does not yet contain a source-qualified definition.

Evidence maturity

Review this concept in the lesson exercise and related engineering workspace. The glossary does not yet contain a source-qualified definition.

ENGINEERING FAILURE CASE

What could go wrong?

A simulation test compares an output against the same formula used by the implementation and declares success, missing a shared sign error.

Identify the assumptions, affected components, missing observations and test evidence before making a safety conclusion.

PRACTICAL EXERCISE

Apply the concept

Design an offline test matrix for a coordinate-conversion module: include axis basis vectors, a wrong-unit input, a missing log and an independent expected result.

What evidence would you need?

Immutable fixture and tool versions, independently derived oracle, actual execution log and a human-reviewed scope statement.

Exercises are instructional; real hardware measurements and independent professional review remain separate.

STEP-BY-STEP ENGINEERING EXAMPLE

Work through a real reasoning pattern.

A converter round-trip passes, but both forward and backward functions share the same sign error. What test exposes it?

Assumptions

A separate golden reference defines the physical coordinate basis.

  1. Step 1

    Select a basis vector with an independently justified expected output.

Where this example stops: Passing a finite fixture set is not a general proof of correctness or airworthiness.

INDEPENDENT TEST ORACLE

Can the tests detect an incorrect implementation?

The known classroom rule is output = 3 × input + 1. Choose a fictional implementation and compare against three independently specified golden results, including negative and zero inputs.

1/3 tests match the independent expectations

2 mismatches detected. A passing fixture set is not a general proof of correctness.

InputExpectedActualCheck
-2-57Mismatch
011Matches
310-8Mismatch

An oracle must be independent of the implementation under test. No simulator, aircraft measurement, flight approval or certification is implied.

GUIDED ENGINEERING CASE STUDY

A green test with a shared error

A numerical converter has a reversed sign, but its test computes expected outputs using the same conversion function.

Fictional evidence packet · 3 observations
  • Round trip: PASSED
  • Independent +90° axis fixture: MISMATCH
  • Expected values generated by the system under test
1. diagnose2. investigate3. conclude
STEP 1 OF 3 · DIAGNOSEWhat undermines the existing success claim?

A passing classroom test suite alone cannot approve flight or certify an aircraft. Challenge outcomes are not saved as qualifications and never change aircraft, compliance or manufacturing records.

RETRIEVAL PRACTICE

Can you explain this engineering decision?

Expected values are generated by the same code being tested.

What is the risk?

This is self-paced retrieval practice, not a graded test or proof of professional competence. Think through the scenario before revealing the explanation.

YOUR ENGINEERING NOTEBOOK

Write down what you learned.

Capture assumptions, unresolved questions and evidence you would want to inspect. These reflections are not graded or verified engineering records.

Need a starting point?
  • What makes an oracle independent of the implementation being tested?
  • Can successful synthetic tests establish flight certification?
0/2000 charactersNo unsaved changes

Unsaved drafts are temporarily preserved in this tab when storage permits; click Save note to keep them in this browser. Export before clearing browser data or switching devices. Do not enter passwords or sensitive personal information.

CHECK YOUR UNDERSTANDING

Test the ideas, not just your memory.

Answer both questions, then check your reasoning. An incorrect answer explains what to revisit. Both must be correct in one submitted attempt to complete this classroom check.

Question 1 of 2 · Which simulator regression test gives the strongest independent evidence?
Question 2 of 2 · A coordinate converter passes a round-trip test but its yaw sign is reversed twice. What test could reveal the defect?

Practice feedback is not a flight qualification, certification or formal engineering assessment. Previously saved lesson completions remain in place.