tnunnink / AutoSpex

A Windows application that runs configurable specifications against a source L5X file to validate the project content.
MIT License
2 stars 0 forks source link

Spec Steps #51

Open tnunnink opened 3 weeks ago

tnunnink commented 3 weeks ago

What if we change spec to be steps that are configurable. Possible steps are Filter, Select, and Verify. Each step can occur more than once. The output of one is the input to the next essentially.

Benefits:

Cons:

tnunnink commented 3 weeks ago

I think this might make #35 unnecessary.

tnunnink commented 4 days ago

Instead of steps, just adding group number to criterion. This would let us separate filters into groups. Each group gets processed together to then pass along to the next to get the "steps" we were looking for. From the UI, we can just have a list per group in the filter section. Selection step would be lot of rework, and we would only need it for nested tags. We need to just figure out another approach for deeply selecting tag members. We also would only ever have one verification step. So, all things considered, we don't need steps but rather filter groups.