Policy Maker

Policy TextCtrl+G to go to line
# Driving Test Example

A **driver** gets a driving licence
  if the **driver** passes the age test
  and the **driver** passes the test requirements
  and the **driver** has taken the test in the time period
  and the **driver** did their test at a valid center.

A **driver** did their test at a valid center
  if the __center__ of the **drivingTest.testDates.practical** is in ["Manchester", "Coventry"]
  and the __center__ of the **practical** of the **test dates** in the **driving test** is in ["Manchester", "Coventry"].

A **driver** passes the age test
  if the __date of birth__ of the **person** in the **driving test** is earlier than 2008-12-12.

A **driver** passes the test requirements
  if **driver** passes the theory test
  and the **driver** passes the practical test.

A **driver** passes the theory test
  if the __multiple choice__ of the **theory** of the **scores** in the **driving test** is at least 43
  and the __hazard perception__ of the **theory** of the **scores** in the **driving test** is at least 44.

A **driver** passes the practical test
  if the __minor__ in the **practical** of the **scores** in the **driving test** is no more than 15
  and the __major__ in the **practical** of the **scores** in the **driving test** is equal to false.

A **driver** has taken the test in the time period
  if the __date__ of the __theory__ of the **testDates** in the **driving test** is within 2 years
  and the __date__ of the __practical__ of the **testDates** in the **driving test** is within 30 days.
Schema Builder

Add Property

Schema Properties

drivingTest(object)required
Test Editor
Select a test or create a new one
Tests
  • PassingNot RunExpect Pass
    12/5/2025 3:32:30 AM
  • FailingNot RunExpect Fail
    12/5/2025 3:32:30 AM