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

Detached mocks (Issue 305) #17

Closed
wants to merge 416 commits into from

Conversation

leonard84
Copy link
Member

Conflicts:
	spock-tapestry/tapestry.gradle
@rehevkor5
Copy link

Is there some kind of workaround for this?

robfletcher and others added 12 commits August 11, 2015 11:22
PolingCondition: IAE timeout value is negative
`Math.max(7, 4)` should return `7`, not `4`. Fixing this example also makes it consistent with the previous `MathSpec` example it is improving upon.
Added `distributionSha256Sum` for verification of downloaded Gradle distributions

In case of wrong checksum the following error will be displayed
  Expected checksum: '2ba0aaa11a3e96ec0af31d532d808e1f09cc6dcad0954e637902a1ab544b9e60'
  Actual checksum: '<invalid SHA 256 checksum, which can be used for calculation of the next versions also>'

See: https://docs.gradle.org/current/userguide/gradle_wrapper.html#sec:verification
The AppVeyor build is so slow that it causes the spec to fail, since the
initial setup of the polling conditions eventually block takes to long.
By decreasing the initialDelay, this should no longer be an issue.
Furthermore, the timeouts for another test are reduced from seconds to
milliseconds, as there is no reason to waste 5 seconds waiting.
Add support for handling additional Exception types with the
PendingFeature annotation to allow features that are failing with
exceptions instead of AssertionErrors.
…eature

Add support for handling additional Exceptions with PendingFeature ...
Pap Lőrinc and others added 7 commits October 25, 2015 15:39
For parametarized tests it could be important for a parameter to depend
on a previously calculated value.

Until now this wasn't possible, because the whole where block was calculated,
before the test method was called (via its generated parameters).
Also, the data providers calculate the whole column,
before moving on to the next one, making the references seem unobvious.

The fix was to provide the data provider methods with the list of already
calculated columns.
And because a cell should only refer to cells in the same row,
the variable references were changed to array indexes (see the getAt part).

This commit should play well with partial parameter definitions.

Partially fixes spockframework#509
By annotating parameters with @language('Groovy') we'll have IDE support
(e.g. syntax check and highlighting) for inlined languages (mostly used in tests)
Update Groovy from 2.4.4. to 2.4.5
…ting_example_in_doc

Fix data driven testing example in documentation
Data table cells can reference previous ones
This implements spockframework#427
Move MockingApi to new spock.mock package.
@leonard84
Copy link
Member Author

I will open a new PR this rebase makes no sense to review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet