Skip to content

Instantly share code, notes, and snippets.

package chromedriver;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
public class ChromeDriverTest {
@grimrose
grimrose / MOPHandsOn.groovy
Last active December 19, 2015 23:59
MOPハンズオン - JGGUG G*ワークショップZ Jul 2013
package jggug
import groovy.transform.Canonical
class JGGUG {
Object propertyMissing(String name) {
if (name =~ /language/) return "Groovy"
if (name =~ /lang/) return "Groovy"
""
@grimrose
grimrose / TODO.md
Created July 28, 2013 07:57
TDD exchangeの設計について

TODOリストの設計について

コア

  • フォーマットはJSONを利用する

  • 保存はH2を利用する

  • GroovyのJSONBuilderを利用し、やり取りする。

  • 新規の場合、入力された文字列を永続化する

  • 削除の場合、永続化されたものを削除する

package tddbc
import groovy.transform.Canonical
enum Hand {
ROCK,
PAPER,
SCISSORS
}
@grimrose
grimrose / FightingGame.groovy
Created August 2, 2013 14:52
どっかで見たことがあるような、無いような
package tddbc
class Fighter {
Action attack(Command command) {
new Action(list: command.apply())
}
}
@grimrose
grimrose / DDD読書会 #2.md
Last active December 20, 2015 14:48
DDD読書会 メモ #2 #DDDsheep

第2章

コミュニケーションと言語の使い方

ユビキタス言語

  • 顧客と一緒に辞書を作る
  • 言語間の断絶
    • 方言
  • 通訳のコスト
@grimrose
grimrose / README.md
Last active December 24, 2015 14:09
PostgreSQL StudioをGradleで動かす http://www.postgresqlstudio.org
@grimrose
grimrose / DDD読書会 #4.md
Last active December 25, 2015 11:39
DDD読書会 #4メモ

5章

ソフトウェアで表現されるモデル

関連

  • Entity
  • Value Object
  • Service
@grimrose
grimrose / yokohamagroovy_19.md
Last active December 26, 2015 00:38
#yokohamagroovy #19
@grimrose
grimrose / Slide.md
Created October 26, 2013 13:26
LT資料 #nodefest 2013

TDD Bootcamp におけるJavaScriptの@grimrose個人の現状と考えについて

自己紹介