Test-Driven Development with Java
Course Description:
course นี้จะทำให้นักพัฒนาและทีมพัฒนาเข้าใจเกี่ยวกับการนำแนวคิด Test-Driven Development (TDD) มาใช้สำหรับการพัฒนาด้วยภาษา Java และเรียนรู้และลงมือเขียน unit test ด้วย test framework เช่น jUnit และ Mockito เป็นต้น รวมทั้งเรียนรู้เรื่อง Test Automation ด้วยแนวคิด Continuous Integration โดยเครื่องมือที่จะได้ใช้งานประกอบไปด้วย
-
Eclipse IDE
-
Git
-
Apache Maven
-
jUnit
-
Jenkins
Duration : 2 Days (9:00 - 17:00)
-
ทฤษฎี 30%
-
ปฏิบัติการ (Workshop) และแบ่งปันประสบการณ์ 70%
Fee : 7,500 Baht; Early Bird 6,900 Bahtexclude VAT *Please bring your own notebook
( Fee includes Course Material + Coffee Break and Lunch )
Instructor:
-
นายสมเกียรติ ปุ๋ยสูงเนิน (See Profile >> Here)
-
นายธวัชชัย จงสุวรรณไพศาล
Training Schedule:
-
15-16 ธันวาคม 2558
-
22-23 มิถุนายน 2559
-
15-16 ธันวาคม 2559
Training Venue: The Connecion ( Near MRT Ladprao Exit 4 ) >> See Map
Who Should Attend:
Java Developer ที่ต้องการเรียนรู้ และ นำ TDD ไปใช้งาน เพื่อปรับปรุงการพัฒนา Software
หัวข้อการฝึกอบรม:
-
ความจำเป็นของ TDD ในการพัฒนา Software
-
วิธีการ Refactor Code
-
การเขียน Unit test ด้วย jUnit
-
การแยก Test data ออกจาก code ของการทดสอบ
-
Test isolation
-
Test automation
-
Continuous Integration
Course Outline
วันที่ 1
Introduction to Testing and Test Driven Development (TDD)
-
The importance of Testing
-
XP, Agile and TDD
-
Testing vs Debugging
-
Overview of Unit Testing
-
Rhythm - Red, Green, Refactor
-
Obvious Implementation or Fake It
-
Mock Objects
Unit Testing Java code with jUnit
-
Test cases, test suites, fixtures.
-
What to test
-
Testing for Exceptions
-
Testing Isolations
-
Test Coverage
-
Integration with Apache Maven
Refactoring Java Code
-
What, when and why
-
Bad Smells
-
Decomposition and delegation
-
Refactoring legacy code
วันที่ 2
Decoupling/Test Double
-
Stub, Spy, Mocking, Fake, Dummy
-
Separating Test Data from Test Code
-
Layered Architecture
-
Dependency Inversion Principle
-
Dependency Injection
Refactoring Java Code (ต่อ)
-
Bad Smells
-
Refactoring legacy code
Automating Tests / Continuous Integration
-
Introduction to Jenkins CI
-
Checking out & Committing code with Git
-
Building with Apache Maven
Online Registration >> HERE