WK8-Test Driven Development and CICD
WK8-Test Driven Development and CICD
การทดสอบและประกันคุณภาพซอฟต์แวร์
Software Testing and Quality Assurance
Week 8
Test Driven Development (TDD)
& Continuous Integration and Configuration Management (CI/CD)
Continuous Integration
and Configuration Management (CI/CD)
Refactoring
1. Test
3.
2 code
Refactor
Maintainability
???
Refactoring !
Version 3
Version 2
Version 1
Software
of Bad Smell
2. Identifying Extract
Method
the refactoring
3. Applying the
4. Assessing the refactoring appropriate
impact on the software quality refactoring
Extract Method
Replace Temp with Query
Decompose Conditional
Continuous Integration
and Configuration Management (CI/CD)
Idea Execution
Feedback
Feedback loop
SF332 Software Testing and Quality Assurance 18
สรุป
การใช้ Continuous Integration และ Continuous
Deployment ช่วยให้ทีมพัฒนาสะดวกและเร็วขึ้นมาก และ
ส่งเสริมกับเรื่องการส่งมอบงานเป็นรอบและส่งให้ได้ไว
เพื่อให้มีการ feedback เร็ว ดังนั้น การใช้เวลาศึกษาและตั้ง
ระบบขึ้นมาอีกสักหน่อย มันจะช่วยงานเราได้ในระยะยาว
• รูปจาก
http://www.bogotobogo.com/DevOps/DevOps_CI_CD_
Pipeline_Sample.php
SF332 Software Testing and Quality Assurance 19
ตัวอย่าง Tool ที่รองรับ CI/CD
https://www.youtube.com/watch?v=h6UKJ9JGPX4
• https://www.somkiat.cc/ci-cd-with-jenkins-at-swpark/
• https://www.slideshare.net/MichaelSolberg/continuous-integration-for-configuration-management
• https://www.techterrotor.com/2021/06/cicd.html
• https://myifew.com/4072/automation-deploy-git-bitbucket-jenkins/
• https://www.press.in.th/continuous-integration-continuous-deployment/