Closed KrzysztofMadejski closed 6 years ago
Tasks:
Create an abstract interface/class ITask/AbstractTask that will be implemented (by let's say DoSomethingTask) and will have methods such as:
forms/DoSomethingForm.py
It would be a specific implementation of #83 configuration flow - "How to define tasks?"
--
AbstractTask::verify(task_runs) - by default it implements verification by equals on all fields
AbstractTask::verify(task_runs)
equals
verify
verify_transactionid_list
equal unordered set
Tasks:
Create an abstract interface/class ITask/AbstractTask that will be implemented (by let's say DoSomethingTask) and will have methods such as:
forms/DoSomethingForm.py
It would be a specific implementation of #83 configuration flow - "How to define tasks?"
--
Verifying data
AbstractTask::verify(task_runs)
- by default it implements verification byequals
on all fieldsverify
or could implement verification rules for each field, such asverify_transactionid_list
that would check forequal unordered set
verify
should be aware someone might override individual fields