{CODE}MAN
PRESENTS
BETTER APPLICATION TESTING WITH CYPRESS
คนที่เคยใช้ Selenium พอทําใช้ไปนานๆ โค้ดจะบวม ดูแลยาก เทสนานกว่าจะเสร็จ หรือ เต็มไปด้วย Flakey test (waitFor...) . จะมี Test suite ตัวไหน ที่ไม่มีปัญหาแบบนี้ไหม..
Cypress ถูกสร้างขึ้นมา
เพื่อแก้ปัญหาเหล่านี้โดยเฉพาะ !
สําหรับคนที่ไม่เคยเขียน automate test มาก่อนและอยากเริ่ม workshop นี้เราจะทํากันตั้งแต่ ออกแบบ จนเขียน Test เอง ผ่าน Cypress
หลังจากจบ workshop นี้ ผู้เรียนสามารถต่อยอดศึกษาต่อด้วยตัวเองได้ เข้าใจ concept การเขียน automate test ที่ดูแลได้
ความรู้พื้นฐานที่ควรมี
- HTML
- Javascript
- ออกแบบ test-case (good to have)

มาพร้อมกับหัวข้อจัดเต็ม 6 หัวใหญ่ๆ
1. จัดระเบียบโครง Cypress
1. จัดระเบียบโครง Cypress
- การแบ่งแยกส่วนต่างๆของ test ตามแนวทางที่แนะนําจาก Cypress
2. การใช้ Cypress กับ เวป HTML ทั่วไป
- พื้นฐานการใช้ Selector
- แนวทางการใช้ Selector ที่เหมาะสมกับตัวโค้ดที่เปลี่ยนบ่อยๆ
3. การเขียน Test suite
- การใช้ Cypress Assertions
- การใช้ Mocha และ Chai Assertions
- การใช้ Assertions กับ Asynchronous ต่างๆ
4. วิธีการจัดการข้อมูลสําหรับ Test ใน Cypress
- การใช้ Fixtures ใน Test suite
5. เพิ่มความเร็วของการ Test E2E ด้วย Cypress
6. การ test Asynchronous
- จัดการ Asynchronous events ทั้งแบบ Interval, timeout, etc.
- การทดสอบ Blob
--------------------
Outline
1. How to structure your Cypress test?
--------------------
Outline
1. How to structure your Cypress test?
- Introducing concepts of structuring your test suite with Cypress own best practices.
2. How we use Cypress with Basic HTML page?
- Introducing basic HTML selector such as tags, classes and ids.
- Introducing best ways to select an HTML element in your application.
3. Simple cypress writing Basics.
- Introducing basic cypress assertion.
- Introducing Mocha and Chai assertions.
- Writing advance assertion with asynchronous tasks.
4. More powerful way to handling data in cypress testing
- Using fixtures as a data source for implementing your test.
5. Faster way to do an E2E testing with Cypress
- Use Stubbing technique to implement some part of your test.
6. Asynchronous testing in Cypress
- Handling asynchronous events in application such as interval, timeout, etc.
- Handling some kinds of assets to use with our test.

เจอกันวันเสาร์ที่ 23 พฤศจิกายน 2562
เวลา 9.00 - 16.00 น.
ที่ อาคารเมืองไทย ภัทร ถนน รัชดาภิเษก (MRT สุทธิสาร)
ราคาเดียว 2390 บาท (รวมอาหารกลางวัน)
** เตรียม Notebook มาเอง **

Trainer >> โอติส - กิตติพงษ์ ศรีกิตติชัย
จบการศึกษาจาก คณะเทคโนโลยีสารสนเทศ มหาวิทยาลัยพระจอมเกล้าธนบุรี
ประสบการณ์สอน
- สอนเขียน Web Development เบื้องต้น
- Introduction to laravel 5.7
- Introduction to ReactJS
- Introduction to SprintBoot
- Cypress Workshop
ประสบการณ์ทำงาน
- Cloud native app development on AWS
- React JS Redux MobX
- GraphQL
- Lalavel
- Spring Boot
- GoLang
- Vue
- Angular
- Cypress