Menu traversal test engine #83
Labels
No Label
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Activity:Doing
Activity:Proposal
Runner
AT
Runner
CLI
Runner
HTTP
cleanup
devops
easypeasy
exchange
l8ter
legacy
optimization
privilege
refactor
smell
support
tooling
ux
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: urdt/ussd#83
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A test engine is required to execute and verify menu traversals.
The implementations are planned to be done in this order:
Inputs
This test engine must accept a vector of user inputs to sequentially run calls to engine.Exec with.
The first branch/pull-request for the implementation should only include the inputs.
Expected results
It must accept a vector of expected results, made up of pointers to individual OPTIONAL items to test against. A nil item means individual item is deactivated for that step. The items are:
The items are numbered in order of implementation. A single branch/pull-request should be created for each implementation item.
Usage
By default, the tester should be EASY to set up for a vector of inputs ONLY as a list of strings (i.e. all items of all expected result tests will be nil).
Also, test cases should be defined with data files that are easy to read and edit.
Error conditions
Neither engine.Exec nor engine.Flush should return errors at any point. Any error returned must result in a failed test.
The same goes for any non 200 error code from HTTP.