2013 greach

1,923 views
1,866 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,923
On SlideShare
0
From Embeds
0
Number of Embeds
1,277
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

2013 greach

  1. 1. fatimacasau
  2. 2. TESTING CON SPOCK
  3. 3. ¿Test difíciles de comprender? ¿Test poco documentados?¿Si los test fallan tardas en averiguar por qué? ¿Te aburre hacer tests?
  4. 4. ¿SE TE REBELAN LOS TEST?¡¡Spock es tu aliado!!
  5. 5. SOLUCIONGRAILS MIXINS + PLUGIN SPOCK
  6. 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. 7. Código de ejemplo

×