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

Merpay Summer Internship 2021

togami2864
December 01, 2021
3k

Merpay Summer Internship 2021

togami2864

December 01, 2021
Tweet

Transcript

  1. 2 Confidential $whoami
 Name: Yoshiaki Togami (2001 March ~ ????)

    Position: Frontend Note: B3 student of chuo university BEng Engineering Born and raised in SAGA 👑👑👑👑👑👑 👑👑👑SAGA👑 👑👑👑👑👑👑 👑👑👑
  2. 4 Confidential Main Task - All APIs are mocked -

    Get DOM elements as in jQuery - assertion
  3. 5 Confidential Why should we write integration tests? - Safety

    for changes - By integration tests, CI can find the parts that are potentially affected by the change - ex) - Change Directory Structure - Migration of framework (Nuxt v2 -> Nuxt v3) - Preventing bugs appearing in the QA phase as much as possible development next development QA Bug Stop!!!!!
  4. 6 Confidential What tests should it be? - Easy to

    maintain, read - Tests can be changing depends on specs - Be specification document - The code itself should represents the user's behavior like it
  5. 7 Confidential Difficulties - Cypress?????? - 50% hard work 💪💪💪💪

    - 50% observation - Watching how to work beforeEach(()=> { cy.mock(mockSomething) }) it(‘test case’, ()=> { cy.mock(mockSomething, {modification}) }) ※ cy.mock is Custom Command. This command can intercept request and change response. Don’t work
  6. 9 Confidential Small tasks I've done - Fix regression test

    - Improve unit test coverage - Developing new features - Add review status
  7. 10 Confidential Memento(おきみやげ) - Adding .DS_Store to .gitignore - Fixing

    README - Add section about .vscode file setting - Update outdated commands - Fixing script to warn when the value of an environment variable is invalid
  8. 11 Confidential What I learned in this internship - Technical

    - Tests - How to write - How to use tools (Cypress) - Why is testing important - Experience with large scale product - how effective conventions and techniques for readability can be - Others - Mercari environment - Product development is hard work