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

Should write test codes while application codes

9b600b6d2f592d0944507e989770b9b3?s=47 ise_tang
November 19, 2021

Should write test codes while application codes

Slides for English LT on 2021/11/18

https://andpad.connpass.com/event/227868/

9b600b6d2f592d0944507e989770b9b3?s=128

ise_tang

November 19, 2021
Tweet

Transcript

  1. ©iCARE Co., Ltd All rights reserved 1 Should write test

    codes while writing application codes iCARE Co.,Ltd Issei Nakamura
  2. ©iCARE Co., Ltd All rights reserved About myself 2 •

    Issei Nakamura • Twitter ID: @ise_tang • iCARE • Manger of health checkup tech team • Serverside engineer • Ruby on Rails / Vue.js • Likes : Darts ◦ Count-up Best Score : 1061 
 

  3. ©iCARE Co., Ltd All rights reserved Our Product

  4. ©iCARE Co., Ltd All rights reserved 
 Consultation And Advising

    With Chats For employees Total Health Information Management For personnels and occupational physicians Total Company Health Support
 Employees
 Medical staffs
 Personnels and occupational physicians
 Chat Cloud Health
 checkups
 Stress 
 Check
 Overwork
 OverTime
 Summary of Carely
  5. ©iCARE Co., Ltd All rights reserved EM / TechLead Serverside

    Enginner Frontend Enginner Service Reliability Engineer QA Engineer UI Designer icare dev 検索 https://www.icare.jpn.com/dev/ We are hiring you!
  6. ©iCARE Co., Ltd All rights reserved ここにタイトルが入ります 6 ここに本文が入ります ここに本文が入ります

    ここに本文が入ります 
 
 Main topic
  7. ©iCARE Co., Ltd All rights reserved My failure story 😂

    7 My implemetation API Sidekiq Sendgrid Worker class Report Mail Composer class Mailer Class Queing Data processing class Processing Result Report Mail
  8. ©iCARE Co., Ltd All rights reserved My failure story 😂

    8 My implemetation API Sidekiq Sendgrid Worker class Report Mail Composer class Mailer Class Queing Data processing class Processing Result Report Mail Buggy
  9. ©iCARE Co., Ltd All rights reserved My failure story 😂

    9 My implemetation API Sidekiq Sendgrid Worker class Report Mail Composer class Mailer Class Queing Data processing class Processing Result Report Mail Buggy Reload to update
  10. ©iCARE Co., Ltd All rights reserved My failure story 😂

    10 My implemetation API Sidekiq Sendgrid Worker class Report Mail Composer class Mailer Class Queing Data processing class Processing Result Report Mail Buggy Reload to update I lost a lot of times 😭
  11. ©iCARE Co., Ltd All rights reserved The learning from this

    story 11 Hurry around 😂
  12. ©iCARE Co., Ltd All rights reserved The benefits of Writing

    test codes while writing application codes 12 • Aware badness of design of the application code ◦ If you would think difficult to write test code, the design of the application code might be bad • Avoid writing wrong test code ◦ if you would write test code at first, you could avoid to write passing test code with wrong application code
  13. ©iCARE Co., Ltd All rights reserved The benefits of Writing

    test codes while writing application codes 13 • Aware badness of design of the application code ◦ If you would think difficult to write test code, the design of the application code might be bad • Avoid writing wrong test code ◦ if you would write test code at first, you could avoid to write passing test code with wrong application code
  14. ©iCARE Co., Ltd All rights reserved The benefits of Writing

    test codes while writing application codes 14 • Aware badness of design of the application code ◦ If you would think difficult to write test code, the design of the application code might be bad • Avoid writing wrong test code ◦ if you would write test code at first, you could avoid to write passing test code with wrong application code
  15. ©iCARE Co., Ltd All rights reserved For more information 15

    Read these books https://www.amazon.co.jp/dp/4274217884/ https://www.amazon.co.jp/dp/0321146530/
  16. ©iCARE Co., Ltd All rights reserved ここにタイトルが入ります 16 ここに本文が入ります ここに本文が入ります

    ここに本文が入ります 
 
 Should write test codes while writing application codes! Thank you for listening!