Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added configurable interaction matching #1219

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Sep 26, 2020

  1. Added configurable interaction matching

    By default Spock uses a match first algorithm to determine the defined return value of a method. So whenever there are multiple defined return values, it will pick the first (that is not exhausted). This change enables a user to change this to a match last algorithm. So Spock will pick the last defined return value (that is not exhausted). This enables easy overriding of default return values. As requested in issue spockframework#26, spockframework#251, spockframework#321 and spockframework#962.
    BoukeNijhuis committed Sep 26, 2020
    Configuration menu
    Copy the full SHA
    d251246 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2020

  1. Improved test coverage

    BoukeNijhuis committed Oct 3, 2020
    Configuration menu
    Copy the full SHA
    f591abb View commit details
    Browse the repository at this point in the history