Slide 1

Slide 1 text

注意看!這兩個男人太狠了 從開發到部署一氣呵成 LINE TODAY – Peter Tsai LINE TRAVEL – Leo Lin 2023.06.27

Slide 2

Slide 2 text

01 02 03 Contents Introduction Development Flow in LINE What did we do in LINE? 2 - - - - Backend Development Tests and Why Tests? CI/CD Stress / E2E Test

Slide 3

Slide 3 text

3 Hsu-Huai (Peter) Tsai TECH FRESH | Backend Engineer • 2022 / 07 ~ 2023 / 06 @LINE Taiwan • Content Dev 1 - LINE TODAY

Slide 4

Slide 4 text

LINE TODAY 4 Up-to-date News Multimedia Support

Slide 5

Slide 5 text

5 Leo Lin TECH FRESH | Automation Engineer • 2022 / 09 ~ 2023 / 06 @LINE Taiwan • 2022 / 07 ~ 2022 / 08 @IBM Taiwan

Slide 6

Slide 6 text

LINE TRAVEL 6 • Hotel • Flight • Group Tour • Experience

Slide 7

Slide 7 text

Development Flow 7

Slide 8

Slide 8 text

SCRUM Process 8

Slide 9

Slide 9 text

Development Flow 9

Slide 10

Slide 10 text

Backend Development 10

Slide 11

Slide 11 text

Three Layers in SpringBoot 11

Slide 12

Slide 12 text

After from Development, Why Tests Matter? 12

Slide 13

Slide 13 text

Different kinds of tests 13

Slide 14

Slide 14 text

Unit Test 14 真的 BookService 介面層 業務邏輯層 數據訪問層

Slide 15

Slide 15 text

Integration Test 15 介面層 業務邏輯層 數據訪問層 真的 BookController 真的 BookService 真的 BookStorage

Slide 16

Slide 16 text

Development Flow 16

Slide 17

Slide 17 text

Continuous Integration (a.k.a “CI”) 17

Slide 18

Slide 18 text

Code Quality Analysis 18

Slide 19

Slide 19 text

Development Flow 19

Slide 20

Slide 20 text

Development Flow 20

Slide 21

Slide 21 text

Writing Tests – End to End (E2E) 21

Slide 22

Slide 22 text

A Real-World Case 22

Slide 23

Slide 23 text

User Story 23

Slide 24

Slide 24 text

Writing Tests – End to End (E2E) 24

Slide 25

Slide 25 text

Writing Tests – Stress test 25

Slide 26

Slide 26 text

Development Flow 26

Slide 27

Slide 27 text

Continuous Deployment (a.k.a “CD”) 27

Slide 28

Slide 28 text

Monitoring 28

Slide 29

Slide 29 text

Peter, a TECHFRESH from LINE TODAY 29

Slide 30

Slide 30 text

Backend TECHFRESH from LINE TODAY 30 CMS (Content Management System)

Slide 31

Slide 31 text

Backend TECHFRESH from LINE TODAY 31 CMS (Content Management System)

Slide 32

Slide 32 text

Backend TECHFRESH from LINE TODAY 32 LINE TODAY Support Bot

Slide 33

Slide 33 text

Backend TECHFRESH from LINE TODAY 33 LINE TODAY Support Bot

Slide 34

Slide 34 text

Backend TECHFRESH from LINE TODAY 34 LINE TODAY Support Bot

Slide 35

Slide 35 text

Leo, a TECHFRESH from LINE TRAVEL 35

Slide 36

Slide 36 text

Automation Engineer TECHFRESH from LINE TRAVEL 36

Slide 37

Slide 37 text

GitHub Repository Security 37

Slide 38

Slide 38 text

GitHub Repository Security 38

Slide 39

Slide 39 text

New Automation Framework 39 Cypress Playwright Multi-page Testing Not supported Supports across multiple tabs Network interception Support interception only Support interception and modification Community Cypress.io Microsoft

Slide 40

Slide 40 text

THANK YOU