Details

      Description

      Mocking needs to be added to:

      1. deal with manual testing scenarios and record the result. Those results should be replayed even if integration mode is enabled (INTEGRATION_TESTS="yes")
      2. deal with running the same query several times in a test when the result is different.

      Some needed variables:

      1. MOCK_NO_RECORD="yes" means there will be no record and the full command is executed
      2. INTEGRATION_TESTS="yes" does not use any test cache and runs the test against a real server
      3. IS_MOCK_STATIC="yes" means the test will never be run against a real server once recorded (for manual test case setup scenarios)
      4. order of precedence is MOCK_NO_RECORD > IS_MOCK_STATIC > INTEGRATION_TESTS

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 minutes
                  5m