Upgrade to Pro — share decks privately, control downloads, hide ads and more …

textaeのテスト なぜ毎日テストするのか

textaeのテスト なぜ毎日テストするのか

textaeというブラウザ上で動作するテキストアノテーションエディタのテスト方法の紹介

shigeru. nakajima

June 10, 2016
Tweet

More Decks by shigeru. nakajima

Other Decks in Technology

Transcript

  1. textae ͷςετ
    ͳͥຖ೔ςετ͢Δͷ͔
    2016/06/10 גࣜձࣾϥάβΠΞ தౡ࣎

    View Slide

  2. എܠ
    1. textaeͷςετΛຖ೔࣮ࢪ
    http://textae.pubannotation.org/
    2. S͘Μ͕࣮ߦ
    3. ςετ͸खͰߦ͏
    4. ςετ߲໨Λຖ೔ม͑Δ

    View Slide


  3. View Slide

  4. SafariͰൃੜɺChromeɺFirefoxͰى͖ͳ͍
    The following erroneous
    annotations ignoredͰ͋Δ͜ͱ

    View Slide

  5. खͰ΍ΔςετΛຖ೔΍ΔޮՌ
    1. ਓ͔ؒ͠ݟ͚ͭΒΕͳ͍ෆ۩߹
    2. ૣ͘ݟ͚ͭΔ

    View Slide

  6. Checking vs Testing
    Checking Is Confirmation
    Testing Is Exploration and Learning
    — Michael Bolton
    1. checking
    ط஌ͷෆ۩߹Λ֬ೝ => ࣗಈԽͰ͖Δ
    2. testing
    ະ஌ͷෆ۩߹Λ୳͢ => ࣗಈԽͰ͖ͳ͍

    View Slide

  7. ςετͱ͸
    ෆ۩߹ = ҧ࿨ײ
    ظ଴͞Ε͍ͯΔ͜ͱ vs ࣮ࡍͷಈ͖
    ςετ͸ɺظ଴ͱ࣮ࡍͷ྆ํΛ஌Δ׆ಈ

    View Slide

  8. ظ଴ͷओޠ
    1. ։ൃ͢Δਓ
    ʢظ଴ͨ͠ૢ࡞ʹਖ਼͍͠൓Ԡʣ
    2. ςετ͢Δਓʢظ଴͠ͳ͍ૢ࡞ʣ
    3. ࢓༷ΛܾΊΔਓʢ໰୊Λղܾ͍ͯ͠Δʣ
    4. ͓ۚΛग़͢ਓʢಛʹཉ͍͠ػೳʣ
    5. ࣮ࡍʹ࢖͏ਓʢΘ͔Γ΍͢͞ʣ

    View Slide

  9. ։ൃ͢Δਓͷࢹ఺Λൈ͚Δͷ͸೉͍͠
    1. ςετΛ࣮ߦ͢Δ࣌
    ࣗ෼Ͱ։ൃͨ͠΋ͷ͸ಛʹ
    2. ςετ߲໨Λ࡞Δ࣌
    1. ػೳཁٻ
    2. ඇػೳཁٻʢੑೳɺؤৎ͞...ʣ

    View Slide

  10. ઌਓͷ஌ܙʣγεςϜج൫ͷൃ஫ऀཁٻΛ
    ݟ͑ΔԽ͢ΔඇػೳཁٻάϨʔυݕ౼ձ
    1. Մ༻ੑ
    2. ੑೳɾ֦ுੑ
    3. ӡ༻ɾอकੑ
    4. Ҡߦੑ
    5. ηΩϡϦςΟ
    6. ؀ڥɾΤίϩδʔ

    View Slide

  11. Ҋ݅ʹ߹Θͤͯ࢖͏ͷ͕೉͍͠
    1. ൃ஫ऀ͸ඇػೳཁٻͷଘࡏΛ஌Βͳ͍
    2. ։ൃऀ͸ػೳཁٻ͕ؾʹͳΔ
    3. ࢖͏ਓ਺ɺස౓Ͱඞཁͳੑೳ͕มΘΔ
    4. ো֐࣌ͷରԠମ੍ΛܾΊͳ͍

    View Slide

  12. ςετΛ܁Γฦ͢ͱผͷࢹ఺Ͱݟ͑ͯ͘Δ
    1. ૢ࡞ͷΘ͔Γʹ͘͞
    2. खॱʹ߹͍ͬͯͳ͍Ϙλϯ഑ஔ
    3. ෆཁͳૢ࡞खॱ
    4. ஗͕͞ؾʹͳΔ఺
    5. Θ͔Γʹ͍͘Τϥʔϝοηʔδ
    6. ෳ਺ػೳͷ૊Έ߹Θͤ
    ։ൃ͢Δਓࢹ఺Ͱ͸ʢҙࣝతɾແҙࣝʹʣݟಀ͢

    View Slide

  13. ςετΛ௨ͯ͠ظ଴ͱ࣮ࡍͷ྆ํΛ஌Δ
    1. ΞδϟΠϧιϑτ΢ΣΞ։ൃͰ͸ɺ
    ιϑτ΢ΣΞΛঃʑʹ࡞Δ
    2. ςετ΋ঃʑʹ࡞͍͚ͬͯΔ
    1. ςετ߲໨
    2. ςετΛ͢Δਓ
    3. ςετͷαΠΫϧ

    View Slide

  14. खͰ΍ΔςετΛຖ೔΍ΔޮՌ
    1. ਓ͔ؒ͠ݟ͚ͭΒΕͳ͍ෆ۩߹
    2. ૣ͘ݟ͚ͭΔ

    View Slide

  15. มԽ͢Δͱ͜Ζ͸όά͕ଟ͍
    ৽ػೳʹ͸όά͕ଟ͍
    1. ػೳͦͷ΋ͷͷߟྀ࿙Ε
    2. ଞͷػೳΛյ͢
    3. ಉ࣌ʹ΍ͬͨϦϑΝΫλϦϯά
    มԽ͍ͯ͠Δͱ͜Ζ͸ૣ͘ςετ͍ͨ͠

    View Slide

  16. ૣ͘ݟ͚ͭΔͱ௚͢ͷ͕؆୯
    1. मਖ਼Օॴͷಛఆ͕؆୯
    1. ࡢ೔ͷίϛοτͷͲΕ͔
    2. 1೔ͷίϛοτ͸40−90
    3. 1ίϛοτ͸Ұߦ୯Ґͷमਖ਼
    4. ಛఆ͢Ε͹मਖ਼͕༰қ
    2. ࠷ۙ͞Θͬͨ৔ॴ͸͍֮͑ͯΔ

    View Slide

  17. ·ͱΊ
    1. ਓ͕ؒखͰςετ͢Δͱ͖ʹ͔͠ɺݟͭ
    ͔Βͳ͍όά͕͋Δ
    2. ຖ೔ςετ͢Δͱ
    1. όάΛૣ͘ݟ͚ͭΒΕͯ௚͢ͷ͕؆୯
    2. όάΛݟ͚ͭΔ໨͕ҭͭ
    3. ςετ߲໨͕ҭͭ

    View Slide