Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-7374

Add ConditionToPatternTest : 1st round

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Ansible Integration
    • None
    • 2023 Week 12-14 (from Mar 20)
    • 3
    • NEW
    • NEW
    • ---
    • ---

      Issue Description:

      Currently tests in drools-ansible-rulebook-integration repo are mostly integration tests where JSON is input and matchedRule is asserted.

      Then, tests for MapCondition.toPattern looks be a good candidate to add.

      Acceptance Criteria:

      Add tests for MapCondition/SmpleCondition to Pattern/predicate referring existing integration tests. Acceptance Criteria would be to cover all Expressions. (not exact all existing tests)
      For 1st round,

      • LogicalOperator
      • RelationalOperator
      • SelectExpression
      • AdditionExpression
      • Binding
      • SimpleCondition

            rhn-support-tkobayas Toshiya Kobayashi
            rhn-support-tkobayas Toshiya Kobayashi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: