---
# System prepended metadata

title: 202010 Line Training

---

# 202010 Line Training
## 環境安裝
### Java
- IntelliJ
- 熟悉一下 JUnit 和 Mockito
- Java 8~Java 11
- Gradle 設定
![](https://i.imgur.com/DCjkGFS.png)

### JavaScript
- 建議 WebStorm, 也可以用 VSCode
- 熟悉一下 Jest


## 注意事項
- 上課建議採 pair/分組，三天會有大量的實作練習，可以讓自己 coding 環境舒服一點
- 上課當天會使用到網路（至 GitHub 與 youtube 有示範影片）
- 上課請勿錄影、錄音，上課的內容（含 repo source code，示範影片）請勿在未經過講師同意之前，進行分享或公開等違反講師權益的動作，煩請配合，謝謝。


## 上課 repo
### Holiday
- [Java-Holiday](https://github.com/202010-line-training/IsTodayXmas_Java/commits/master)
- [javascript-Holiday](https://github.com/202010-line-training/js-unit-test/commits/holiday)

### OTP
- Java
    - [manual stub](https://github.com/202010-line-training/java-OTP/commits/v2_manual_stub)
    - [mockito stub](https://github.com/202010-line-training/java-OTP/commits/v3_Mockito_stub)
    - [refactor test](https://github.com/202010-line-training/java-OTP/commits/v3_2_refactor)
    - [mock assertion](https://github.com/202010-line-training/java-OTP/commits/v4_mock_assertion)
    - [refactor mock test](https://github.com/202010-line-training/java-OTP/commits/v4_2_refactor)
    - videos
        - [manual stub](https://youtu.be/L6bFqDaW7SQ)
        - [mockito stub](https://youtu.be/9WFBHWBkeHA)
        - [refactor test](https://youtu.be/p28CmluxxaE)
        - [mock assertion](https://youtu.be/BM0_TiJfGzQ)
- javascript
    - [jest stub](https://github.com/202010-line-training/js-unit-test/commit/625c653979e7737d9beff0ae0c44542548a8ae38)
  - [refactor test](https://github.com/202010-line-training/js-unit-test/commit/6b7d46f37e0da7c322ca8f85abdd1bbc5da1a12a)
  - [refactor test](https://github.com/202010-line-training/js-unit-test/commit/6b7d46f37e0da7c322ca8f85abdd1bbc5da1a12a)
  - [mock assertion](https://github.com/202010-line-training/js-unit-test/commit/e466eb17290d3b65941e638e293c0c759005a0ed)
  - [refactor mock](https://github.com/202010-line-training/js-unit-test/commit/87b56474cfa27c9d62efa956ae8d2737fe59eb69)


- Kotlin
    - [mockK stub](https://github.com/202010-line-training/KotlinOtp/commits/1-mockk-stub)
     - [refactor test](https://github.com/202010-line-training/KotlinOtp/commits/2-refactor-stub-test)
    - [mock assertion](https://github.com/202010-line-training/KotlinOtp/commits/3-mock-assertion)
    - [refactor mock](https://github.com/202010-line-training/KotlinOtp/commits/4-refactor-mock)

### Order
- Java
    - [pass test](https://github.com/202010-line-training/java-SyncBookOrders/tree/v1_test_completed)
    - [refactor test](https://github.com/202010-line-training/java-SyncBookOrders/tree/v1_2_refactor)
- javascript
    - [pass test](https://github.com/202010-line-training/js-unit-test/commit/95b9f3c72afdc848c2f11e97e1d1e7b4abb8e7bd)
    - [refactor test](https://github.com/202010-line-training/js-unit-test/commit/383561c89d9c92f626423607e1fa4181332f580f)