How to use Positive Test Generator
- List the fields with constraints and business rules (ranges, enums, unique).
- Name the feature and pick an export format.
- Generate and review the happy-path cases.
Positive Test Generator features
- Typical, minimal and maximal valid submissions for the whole form
- Required-only submission with optional fields left empty
- One case per valid equivalence class of every field (each enum value, both booleans, valid formats)
- Unicode acceptance for free-text fields and plus-addressing for emails
- Export as Markdown, JSON, CSV or Gherkin
Positive Test Generator example
Happy-path cases for a payment amount
Input:
amount: number, min=1, max=10000, required
currency: enum(USD, EUR, SAR), requiredOutput:
POS-001 Submit the form with typical valid values for all fields amount=5000.5; currency=USD
POS-002 Submit the form with minimal valid values amount=1; currency=USD
POS-003 Submit the form with maximal valid values amount=10000; currency=SAR
POS-005 Currency: accept allowed value "EUR"Frequently asked questions about Positive Test Generator
What counts as a positive test?
Any input the system must accept: typical values, the minimal and maximal valid values, only-required-fields submissions, every allowed enum value and valid Unicode text.
Why test minimal and maximal valid values separately?
Off-by-one bugs live at the edges of the valid range. A value exactly at min or max must be accepted, and the stored value must not be truncated or rounded.
How are business rules used?
Rules expressed as constraints (min, max, enum, unique) turn into representative valid values. Describe additional rules as extra enum or range fields to get cases for them.
Which export formats are available and what does each case contain?
Table, Markdown, JSON, CSV and Gherkin (.feature, one scenario per case). Every case has an ID (POS-001…), title, type, priority, preconditions, test data, steps and expected result, so it can be imported into a test-management tool or dropped into a BDD suite. The typical-values case is Critical; required-only, minimal and maximal cases are High.