Expectations #39

Open
trew opened this Issue Mar 21, 2012 · 0 comments

Comments

Projects
None yet
1 participant
@trew
Contributor

trew commented Mar 21, 2012

The current model for expectations is that an Expectation contains following properties:


  • Deadline
  • Tolerance
  • Repeat
  • Least amount of hits
  • Filter

This works fine for current purposes, but my proposal for future development is to extend this to enable more advanced filtering options.
I suggest that filters becomes:

  • A query
    OR
  • A set of filters, combined using AND or OR.

That way an expectation can easily become a tree structure like in this example:

This is not intuitive or easy to understand as a user when you're creating a new expectation, but this tree structure can be described as a set of sentences instead. Like this:


Just to point out, this is for the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment