20
JUnit実践 写経・実践会 in 横浜 #3 2013/02/02() at 横浜タネマキ @shinyaa31 1 1323日日曜日

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

Embed Size (px)

Citation preview

  1. 1. JUnit in #3 2013/02/02() at @shinyaa3113231
  2. 2. #junitbook 213232
  3. 3. JUnitJUnit ~2012/11/21480 (TwitterID:@shuji_w6e)JavaJUnitJUnitJUnit()1323 3
  4. 4. 13234
  5. 5. 15:00 (15) 15:15 (90) 11 (525)3 16:45 (115) LT 18:30 (30) 19:00 13235
  6. 6. Part 3 11 11.1 11.2 11.3 Mockito13236
  7. 7. (Test Double) (SUT; System Under Test) (DOC; Depend-On Component) http://ja.wikipedia.org/wiki/1323 7
  8. 8. mockito ....http://ja.wikipedia.org/wiki/13238
  9. 9. http://togetter.com/li/4223761323 9
  10. 10. 132310
  11. 11. TDD OSWindows/Mac/ Java/Groovy/ IDEEclipse/IntelliJ IDEA/132311
  12. 12. ... 1323 12
  13. 13. mockito Mockito is a mocking framework that tastes really good. It lets you write beautiful tests with clean & simple API. Mockito doesnt give you hangover because the tests are very readable and they produce clean verification errors. Read more about features & motivations. "We decided during the main conference that we should use JUnit 4 and Mockito because we think they are the future of TDD and mocking in Java" - Dan North, the originator of BDD http://code.google.com/p/mockito/1323 13
  14. 14. Part 3 11 11.1 11.2 11.3 Mockito132314
  15. 15. 11.1 132315
  16. 16. 11.2 - - - 1323 16
  17. 17. 11.3 Mockito Mockito Mockito 1323 17
  18. 18. jMockit EasyMock MockRunner GroovyMock132318
  19. 19. Lightning Talk1323 19
  20. 20. 132320