2012-03-22
Nagoya.Testing #2 in Tokyo と TDD カンファレンス 2012 に申込み
昨日のこと。
↓の2つの勉強会に申し込んだ。
Nagoya.Testing #2 in Tokyo
平日だけど思わず勢いで。
朝は参加者3人くらいだったのが、会社行ってスケジュール調整してから見たら残り2枠になっててビビった。
TDD カンファレンス 2012
そのままの流れでやるみたいだったので、ちょっと悩んだけど、帰宅して確認したら空きがあったので申込み。
ソフトウェア開発に関わり始めてから、歴だけは割と長くなったけど、テストについてはかなりもやっとしたまま来てしまった。
他にもできてないこといっぱいあるけど、それは置いといて。
思い返すと今までのプロジェクトでちゃんとしたテスト基準みたいなものを見たことがない。
あったのは、キロステップ当たり(!)の目標バグ件数とか、"〜が正常に動くこと"とか、特に品質基準はないけど高品質でお願いしますとか。
ずっと違和感はあったけど、ここがダメ、こうした方がいいって提示できるほどテストについての深い知識もなく、正直逃げてた。
最近、メンバーを抱えるような立場になってきて、彼らのテストケースとかを確認するたびに自分の中での基準が曖昧で勉強しないといけないとは思ってた。
これを機にテストに対する理解を深めようと思う。
浅い知識しかないので、Nagoya.Testing 主催の id:kyon_mm さんのすばらしいエントリ ソフトウェアテストを勉強しはじめて10ヵ月でやったこと - うさぎ組 から2冊と、TDDって言ったらこれだろっていう思い込みの1冊を帰宅途中に購入。
勉強会までに予習する。
- 作者: リー・コープランド,宗雅彦
- 出版社/メーカー: 日経BP社
- 発売日: 2005/11/03
- メディア: 単行本
- 購入: 24人 クリック: 539回
- この商品を含むブログ (49件) を見る
- 作者: 池田暁,鈴木三紀夫
- 出版社/メーカー: 技術評論社
- 発売日: 2007/06/22
- メディア: 単行本(ソフトカバー)
- 購入: 21人 クリック: 352回
- この商品を含むブログ (38件) を見る
- 作者: ケントベック,Kent Beck,長瀬嘉秀,テクノロジックアート
- 出版社/メーカー: ピアソンエデュケーション
- 発売日: 2003/09
- メディア: 単行本
- 購入: 45人 クリック: 1,058回
- この商品を含むブログ (159件) を見る
Git ドリル 入門編(演習)をやってみた。
先日の no titleをやってみた。
とりあえず、改行コードの警告は気にしない方向で。
最初のコミット
$ git init
Initialized empty Git repository in c:/gitwork/git_drill/.git/
$ echo "A" >> drill.txt
$ git add drill.txt
warning: LF will be replaced by CRLF in drill.txt.
The file will have its original line endings in your working directory.
$ git commit -m "commit A"
[master (root-commit) c0cc73c] commit A
warning: LF will be replaced by CRLF in drill.txt.
The file will have its original line endings in your working directory.
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 drill.txt
さらにコミット
$ echo "B" >> drill.txt
$ git add drill.txt
warning: LF will be replaced by CRLF in drill.txt.
The file will have its original line endings in your working directory.
$ git commit -m "commit B"
[master warning: LF will be replaced by CRLF in drill.txt.
The file will have its original line endings in your working directory.
895d5cf] commit B
warning: LF will be replaced by CRLF in drill.txt.
The file will have its original line endings in your working directory.
1 files changed, 1 insertions(+), 0 deletions(-)
ブランチを作ってコミット
$ git checkout -b topicC
Switched to a new branch 'topicC'
$ echo "C" >> drill.txt
$ git add drill.txt
warning: LF will be replaced by CRLF in drill.txt.
The file will have its original line endings in your working directory.
$ git commit -m "commit C"
[topicC warning: LF will be replaced by CRLF in drill.txt.
The file will have its original line endings in your working directory.
e56d0ff] commit C
warning: LF will be replaced by CRLF in drill.txt.
The file will have its original line endings in your working directory.
1 files changed, 1 insertions(+), 0 deletions(-)
ブランチをのばす
$ echo "D" >> drill.txt
$ git add drill.txt
warning: LF will be replaced by CRLF in drill.txt.
The file will have its original line endings in your working directory.
$ git commit -m "commit D"
[topicC warning: LF will be replaced by CRLF in drill.txt.
The file will have its original line endings in your working directory.
f7c7c3f] commit D
warning: LF will be replaced by CRLF in drill.txt.
The file will have its original line endings in your working directory.
1 files changed, 1 insertions(+), 0 deletions(-)
$ git checkout master
Switched to branch 'master'
$ echo "E" >> drill.txt
$ git add drill.txt
warning: LF will be replaced by CRLF in drill.txt.
The file will have its original line endings in your working directory.
$ git commit -m "commit E"
[master warning: LF will be replaced by CRLF in drill.txt.
The file will have its original line endings in your working directory.
9be2a21] commit E
warning: LF will be replaced by CRLF in drill.txt.
The file will have its original line endings in your working directory.
1 files changed, 1 insertions(+), 0 deletions(-)
適当なところにブランチを生やす
???今の知識じゃ分からない。。。
勉強してからやるということで、今日はここまで。

