JBehave
  1. JBehave
  2. JBEHAVE-625

MetaFilter should support meta matching logic written in a Groovy

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.4, 3.6
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Little language example:
      ((suite = "smoke" | suite = "regression") & process = "booking")

      Groovy closures (http://groovy.codehaus.org/Quick+Start) would be an effective way to construct an alternate grammar.

      It should be a non-default implementation to allow for backwards compatibility.

        Activity

        Hide
        Mauro Talevi added a comment -

        We could introduce a prefix-based convention for different language impls. E.g.: "groovy: ((suite = "smoke" | suite = "regression") & process = "booking")".

        This would keep the meta-filter nice and compact, a single string rather than depending on additional settings.

        Show
        Mauro Talevi added a comment - We could introduce a prefix-based convention for different language impls. E.g.: "groovy: ((suite = "smoke" | suite = "regression") & process = "booking")". This would keep the meta-filter nice and compact, a single string rather than depending on additional settings.
        Mauro Talevi made changes -
        Field Original Value New Value
        Summary meta-filter (command line) needs a proper albeit little language MetaFilter should support logic written in a scripting language
        Mauro Talevi made changes -
        Assignee Mauro Talevi [ maurotalevi ]
        Mauro Talevi made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Paul Hammant made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Assignee Mauro Talevi [ maurotalevi ] Paul Hammant [ paul ]
        Resolution Fixed [ 1 ]
        Hide
        Mauro Talevi added a comment -

        Needs working example and docs

        Show
        Mauro Talevi added a comment - Needs working example and docs
        Mauro Talevi made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Mauro Talevi made changes -
        Summary MetaFilter should support logic written in a scripting language MetaFilter should support meta matching logic written in a Groovy
        Fix Version/s 3.5.4 [ 18081 ]
        Description Little language example:
           ((suite = "smoke" | suite = "regression") & process = "booking")

        It could be that Groovy closures (http://groovy.codehaus.org/Quick+Start) or Rhino (http://www.mozilla.org/rhino/tutorial.html) could be an effective way to construct an alternate grammar.

        Having this as a plugin -DmetaFilterImplementation might allow for backwards compatibility too.

        Little language example:
           ((suite = "smoke" | suite = "regression") & process = "booking")

        Groovy closures (http://groovy.codehaus.org/Quick+Start) would be an effective way to construct an alternate grammar.

        It should be a non-default implementation to allow for backwards compatibility.

        Mauro Talevi made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Paul Hammant
            Reporter:
            Paul Hammant
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: