Your SlideShare is downloading. ×
0
Unit test
Unit test
Unit test
Unit test
Unit test
Unit test
Unit test
Unit test
Unit test
Unit test
Unit test
Unit test
Unit test
Unit test
Unit test
Unit test
Unit test
Unit test
Unit test
Unit test
Unit test
Unit test
Unit test
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Unit test

1,634

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,634
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
16
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide























  • Transcript

    • 1. Unit Test and Test Driven Development 2010.09.18 Sapporo Java Community @shuji_w6e
    • 2. @shuji_w6e http://d.hatena.ne.jp/shuji_w6e/ http://code.google.com/p/etupirka/ http://code.google.com/p/pirka/ http://code.google.com/p/senic3/
    • 3. public
    • 4. Test Driven Development
    • 5. Test Driven Development wikipedia
    • 6. TDD 1. 2. 3. 5. 4. http://reddevnews.com/articles/2007/11/01/testdriven-development-tdd.aspx
    • 7. xUnit
    • 8. JUnit JUnit 4 + hamcrest @Test, @Before, @After assertThat Matcher
    • 9. Quick JUnit Eclipse plug-in Ctrl + 9 http://quick-junit.sourceforge.jp/updates/ current/
    • 10. Eclipse -1 Java - Code Style - Organized import Number of static import 99 > 1 Java - JUnit - “Add -ea” Java - Editor - Content Assist - Favorites org.hamcrest.CoreMatchers org.junit.Assert org.junit.matchers.JUnitMatchers
    • 11. Eclipse -2 Java - Editor - Template Name: at assertThat(${actual}, is(${expected})); ${assert:importStatic ('org.junit.Assert.*')} ${matchers:importStatic ('org.hamcrest.CoreMatchers.*')}
    • 12. Hello, Unit Test!
    • 13. ls -l -a

    ×