Your SlideShare is downloading. ×

2013 greach

1,187
views

Published on


0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,187
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. fatimacasau
  • 2. TESTING CON SPOCK
  • 3. ¿Test difíciles de comprender? ¿Test poco documentados?¿Si los test fallan tardas en averiguar por qué? ¿Te aburre hacer tests?
  • 4. ¿SE TE REBELAN LOS TEST?¡¡Spock es tu aliado!!
  • 5. SOLUCIONGRAILS MIXINS + PLUGIN SPOCK
  • 6. GRAILS MIXINS grails.test.mixin.TestFor grails.test.mixin.TestMixin grails.test.mixin.Mock grails.test.mixin.support.GrailsUnitTestMixin grails.test.mixin.domain.DomainClassUnitTestMixin grails.test.mixin.services.ServiceUnitTestMixin grails.test.mixin.web.ControllerUnitTestMixin grails.test.mixin.web.FiltersUnitTestMixin grails.test.mixin.web.GroovyPageUnitTestMixin grails.test.mixin.web.UrlMappingsUnitTestMixin grails.test.mixin.webflow/WebFlowUnitTestMixin
  • 7. Código de ejemplo