Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Spockを使おう!

2,554 views

Published on

Published in: Technology, Health & Medicine
  • Be the first to comment

  • Be the first to like this

Spockを使おう!

  1. 1. 07
  2. 2. class HelloJggug extends Specification {    def "G* "() {        expect:        name.size() == length        where:        name     | length        "Groovy" | 6        "Grails" | 6        "Griffon" | 7    }}  
  3. 3. class MaskedRiderOOOSpec extends Specification { def hinoEiji = new HinoEiji() def " "() { given: " " hinoEiji.setCoreMedal(UNKH.getCoreMedal()) and: " " hinoEiji.attachOOODriver() and: " " hinoEiji.setCoreMedal() when: " " hinoEiji.scanOOODriver() then: " " hinoEiji.comboType == ComboType.TATOBA }}

×