SlideShare uma empresa Scribd logo
1 de 16
Baixar para ler offline
『JJUUnniitt実践入�門』
   写経・実践会  iinn  横浜  ##44
             22001133//0033//0033((日))  aatt  横浜タネマキ

                                       @@sshhiinnyyaaaa3311



13年3月4日月曜日
其之四
 データベースのテスト
 ((TTeessttiinngg  tthhee  DDaattaaBBaassee))



13年3月4日月曜日
横浜タネマキなーう!!!!!!!!!!    ##jjuunniittbbooookk

       な横
        浜
        タ
        ネ
        マ
      う キ
      っ
                     な タ横
     !!!!!             ネ浜
                       マ
                     うキ
                     !!!!!


13年3月4日月曜日
『JJUUnniitt実践入�門』
                                書籍名:
                                JUnit実践入門 ~体系的に学ぶユニットテストの技法
                                出版社:技術評論社
                                発売日:2012/11/21
                                ボリューム:480ページ
                                著者:渡辺 修司(TwitterID:@shuji_w6e)




  Javaのテスティングフレームワークとして事実上のデファクトスタンダードの地位を占めているJUnitは、
  なにぶん長い歴史を持っていますので、触れたことのある人は膨大な数に上ります。
  しかし、日本語のまとまった情報は意外と少なく、本家JUnitが進化するに従って経年劣化を
  起こしてしまっているというのが現状です。


  そのような状況が変わります。渡辺さんの「JUnit便り」が札幌から全国へ届く日がやってきたのです。


  テスト駆動開発者 和田卓人 (※書籍「推薦のことば」より一部抜粋)



13年3月4日月曜日
横浜タネマキ




13年3月4日月曜日
『JJUUnniitt実践入�門』
  〜これまでの開催記録〜
   第11回((  ##11  ))  22001122//1122//0011((土))  aatt  ルノアール横浜関内駅前店  //  参加99名
    第1166章  テスト駆動開発
    第11章  JJUUnniittチュートリアル
    第22章  ユニットテスト
    第33章  テスティングフレームワーク

   第22回((  ##22  ))  22001133//0011//1122((土))  aatt  横浜タネマキ  //  参加1155名
    第44章  アサーション
    第55章  テストランナー
    第66章  テストのコンテキスト
    第77章  テストフィクスチャ
    第88章  パラメータ化テスト
    第99章  ルール
    第1100章  カテゴリ化テスト

   第33回((  ##33  ))  22001133//0022//0022((土))  aatt  横浜タネマキ  //  参加1133名
    第1111章  テストダブル

   第44回((  ##44  ))  22001133//0033//0033((日))  aatt  横浜タネマキ
    第1122章  データベースのテスト




13年3月4日月曜日
アイスブレイク
    ・書籍を持って来た
    ・書籍を読んできた
    ・書籍対象範囲の写経を
     済ませてきた
    ・TTDDDD//ペアプロ経験
    ・本日のOOSS//言語//IIDDEE




13年3月4日月曜日
本日のタイムテーブル
  1155::0000  開始  //  会場諸説明  //  アイスブレイク
  1155::1155  書籍対象範囲黙読、写経、ディスカッション
       <第1122章  データベースのテスト>
  1166::3300  フリータイム
                      <LLiigghhttnniinngg  TTaallkk  //  もくもく作業など>
  1188::3300  ふりかえり・次回予定調整等
  1199::0000  撤収〜懇親会?




13年3月4日月曜日
本日の対象範囲
  第1122章  データベースのテスト
  --  テストコードで外部システムを制御する  --

  1122--11..  データベースに依存する
                    ユニットテスト
  1122--22..  ユニットテストの自動化と
                    HH22  DDaattaabbaassee
  1122--33..  DDbbUUnniittによるデータベースのテスト




13年3月4日月曜日
DDbbUUnniitt
             DbUnit is a JUnit extension (also usable with Ant) targeted at
             database-driven projects that, among other things, puts your
             database into a known state between test runs.
             This is an excellent way to avoid the myriad of problems that
             can occur when one test case corrupts the database and
             causes subsequent tests to fail or exacerbate the damage.
             DbUnit has the ability to export and import your database
             data to and from XML datasets. Since version 2.0, DbUnit
             can also work with very large datasets when used in
             streaming mode.
             DbUnit can also help you to verify that your database data
             match an expected set of values.




                   hhttttpp::////wwwwww..ddbbuunniitt..oorrgg//
13年3月4日月曜日
写経・ディスカッション
  1122--11..
  データベースに依存するユニットテスト
  ・データベースを扱うソフトウェアの設計
  ・データベースの状態とユニットテスト




13年3月4日月曜日
写経・ディスカッション
  1122--22..
  ユニットテストの自動化とHH22  DDaattaabbaassee
  ・HH22  DDaattaabbaasseeサーバの
   起動/停止を行うルール




13年3月4日月曜日
写経・ディスカッション
  1122--33..
  DDbbUUnniittによるデータベースのテスト
  ・DDbbUUnniittとは?
  ・DDbbUUnniittのJJUUnniitt  44対応
  ・データベースのセットアップ
  ・データベースのアサーション
  ・コンテキストによるテストケースの整理
  ・DDbbUUnniittのその他の機能




13年3月4日月曜日
LLiigghhttnniinngg  TTaallkk
  ・@@ggrriimmrroossee  
  ・@@ssuuee444455  
  ・@@aaeegg
  ・@@PPoooohhSSuunnnnyy




13年3月4日月曜日
次回((##55))予定:
         対象範囲
                 第17章  振舞駆動開発
                 -‐‑‒  ストーリーをテスト可能にする  -‐‑‒

         開催⽇日時   2013/04/14(⽇日)  13:00〜~19:00

         開催場所    横浜タネマキ

         開催⼈人数   10〜~15⼈人程度度(最⼤大20⼈人まで)

         開催内容    書籍内容+αを想定




13年3月4日月曜日
撤収!
13年3月4日月曜日

Mais conteúdo relacionado

Destaque

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Destaque (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

『JUnit実践入門』写経・実践会 in 横浜 #4

  • 1. 『JJUUnniitt実践入�門』 写経・実践会 iinn 横浜 ##44 22001133//0033//0033((日)) aatt 横浜タネマキ @@sshhiinnyyaaaa3311 13年3月4日月曜日
  • 2. 其之四 データベースのテスト ((TTeessttiinngg tthhee DDaattaaBBaassee)) 13年3月4日月曜日
  • 3. 横浜タネマキなーう!!!!!!!!!! ##jjuunniittbbooookk な横 浜 タ ネ マ う キ っ な タ横 !!!!! ネ浜 マ うキ !!!!! 13年3月4日月曜日
  • 4. 『JJUUnniitt実践入�門』 書籍名: JUnit実践入門 ~体系的に学ぶユニットテストの技法 出版社:技術評論社 発売日:2012/11/21 ボリューム:480ページ 著者:渡辺 修司(TwitterID:@shuji_w6e) Javaのテスティングフレームワークとして事実上のデファクトスタンダードの地位を占めているJUnitは、 なにぶん長い歴史を持っていますので、触れたことのある人は膨大な数に上ります。 しかし、日本語のまとまった情報は意外と少なく、本家JUnitが進化するに従って経年劣化を 起こしてしまっているというのが現状です。 そのような状況が変わります。渡辺さんの「JUnit便り」が札幌から全国へ届く日がやってきたのです。 テスト駆動開発者 和田卓人 (※書籍「推薦のことば」より一部抜粋) 13年3月4日月曜日
  • 6. 『JJUUnniitt実践入�門』 〜これまでの開催記録〜 第11回(( ##11 )) 22001122//1122//0011((土)) aatt ルノアール横浜関内駅前店 // 参加99名  第1166章 テスト駆動開発  第11章 JJUUnniittチュートリアル  第22章 ユニットテスト  第33章 テスティングフレームワーク 第22回(( ##22 )) 22001133//0011//1122((土)) aatt 横浜タネマキ // 参加1155名  第44章 アサーション  第55章 テストランナー  第66章 テストのコンテキスト  第77章 テストフィクスチャ  第88章 パラメータ化テスト  第99章 ルール  第1100章 カテゴリ化テスト 第33回(( ##33 )) 22001133//0022//0022((土)) aatt 横浜タネマキ // 参加1133名  第1111章 テストダブル 第44回(( ##44 )) 22001133//0033//0033((日)) aatt 横浜タネマキ  第1122章 データベースのテスト 13年3月4日月曜日
  • 7. アイスブレイク ・書籍を持って来た ・書籍を読んできた ・書籍対象範囲の写経を  済ませてきた ・TTDDDD//ペアプロ経験 ・本日のOOSS//言語//IIDDEE 13年3月4日月曜日
  • 8. 本日のタイムテーブル 1155::0000 開始 // 会場諸説明 // アイスブレイク 1155::1155 書籍対象範囲黙読、写経、ディスカッション     <第1122章 データベースのテスト> 1166::3300 フリータイム <LLiigghhttnniinngg TTaallkk // もくもく作業など> 1188::3300 ふりかえり・次回予定調整等 1199::0000 撤収〜懇親会? 13年3月4日月曜日
  • 9. 本日の対象範囲 第1122章 データベースのテスト -- テストコードで外部システムを制御する -- 1122--11.. データベースに依存する ユニットテスト 1122--22.. ユニットテストの自動化と HH22 DDaattaabbaassee 1122--33.. DDbbUUnniittによるデータベースのテスト 13年3月4日月曜日
  • 10. DDbbUUnniitt DbUnit is a JUnit extension (also usable with Ant) targeted at database-driven projects that, among other things, puts your database into a known state between test runs. This is an excellent way to avoid the myriad of problems that can occur when one test case corrupts the database and causes subsequent tests to fail or exacerbate the damage. DbUnit has the ability to export and import your database data to and from XML datasets. Since version 2.0, DbUnit can also work with very large datasets when used in streaming mode. DbUnit can also help you to verify that your database data match an expected set of values. hhttttpp::////wwwwww..ddbbuunniitt..oorrgg// 13年3月4日月曜日
  • 11. 写経・ディスカッション 1122--11.. データベースに依存するユニットテスト ・データベースを扱うソフトウェアの設計 ・データベースの状態とユニットテスト 13年3月4日月曜日
  • 12. 写経・ディスカッション 1122--22.. ユニットテストの自動化とHH22 DDaattaabbaassee ・HH22 DDaattaabbaasseeサーバの  起動/停止を行うルール 13年3月4日月曜日
  • 13. 写経・ディスカッション 1122--33.. DDbbUUnniittによるデータベースのテスト ・DDbbUUnniittとは? ・DDbbUUnniittのJJUUnniitt 44対応 ・データベースのセットアップ ・データベースのアサーション ・コンテキストによるテストケースの整理 ・DDbbUUnniittのその他の機能 13年3月4日月曜日
  • 14. LLiigghhttnniinngg TTaallkk ・@@ggrriimmrroossee ・@@ssuuee444455 ・@@aaeegg ・@@PPoooohhSSuunnnnyy 13年3月4日月曜日
  • 15. 次回((##55))予定: 対象範囲 第17章  振舞駆動開発 -‐‑‒  ストーリーをテスト可能にする  -‐‑‒ 開催⽇日時 2013/04/14(⽇日)  13:00〜~19:00 開催場所 横浜タネマキ 開催⼈人数 10〜~15⼈人程度度(最⼤大20⼈人まで) 開催内容 書籍内容+αを想定 13年3月4日月曜日