Issue Details (XML | Word | Printable)

Key: GROOVY-1246
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dierk Koenig
Reporter: Dierk Koenig
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
groovy

All-Groovy Mock support

Created: 15/Feb/06 05:53 PM   Updated: 15/Feb/06 06:06 PM
Component/s: None
Affects Version/s: 1.0-JSR-5
Fix Version/s: 1.0-JSR-6

Time Tracking:
Not Specified

Issue Links:
Related
 


 Description  « Hide
Provide Mock support with pure Groovy means, i.e. ProxyMetaClass and Interceptors.
No external mock library needed any longer.

Make use of Ranges and Closures for demanding behaviour.

Allow strict and loose expectations in terms of sequence dependency between demand specifications and effected method calls.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dierk Koenig added a comment - 15/Feb/06 05:55 PM
Hein's Issue for moving to JMock should now be obsolete.

Dierk Koenig added a comment - 15/Feb/06 06:06 PM
Now implemented in the
groovy.mock.interceptor
package.

Not sure whether all namings are ok. Native speaker may have better suggestions.

Small isssue with times{} open.

Old impl. can now be removed
After that, I suggest we move the package one level up.

The 42 testcases should give a comprehensive description.