---
# System prepended metadata

title: 永豐金證券單元測試 training

---

# 永豐金證券單元測試 training
文件網址：http://bit.ly/20191101-sino
![](https://i.imgur.com/7PYWj7p.png)

- [coaching 紀錄](https://hackmd.io/_-RkbSsbT6mALMPnkqo5pg?both)


## Is Today Xmas
- [C#](https://github.com/201901UnitTest/IsTodayXmas)
- [Java](https://github.com/201901UnitTest/IsTodayXmas_Java)

## OTP

- 題目
    - [.net framework version](https://github.com/201905UnitTest/OTP-net)
    - [C# (.net core version)](https://github.com/201901UnitTest/otp/tree/lab)
    - [Java](https://github.com/201905UnitTest/java-OTP)

- 解答
    - C#
        - [manual_stub](https://github.com/201901UnitTest/otp/tree/v2_manual_stub) ([操作影片](https://www.dropbox.com/s/wf8x1a9iw4hlqny/1-CSharp-manual%20stub.mp4?dl=0))
        - [with NSub](https://github.com/201901UnitTest/otp/tree/v3_NSub) ([操作影片](https://www.dropbox.com/s/45kvs8rnl50mgrj/2-CSharp-stub-NSub.mp4?dl=0))
        - [refactor test](https://github.com/201901UnitTest/otp/tree/v3_2_refactor) 
        - [mock assertion](https://github.com/201901UnitTest/otp/tree/v4_2_mock_assertion%7B_solution) ([操作影片](https://www.dropbox.com/s/3n1pc1iymkbrivl/3-CSharp-mock-assertion.mp4?dl=0))
    - Java
        - [manual_stub](https://github.com/201905UnitTest/java-OTP/tree/v2_manual_stub) ([操作影片](https://www.dropbox.com/s/gce2zrjeujhxcof/1-java%20manual%20stub.mp4?dl=0))
        - [stub with mockito](https://github.com/201905UnitTest/java-OTP/tree/v3_Mockito_stub) ([操作影片](https://www.dropbox.com/s/392sh53xuyw69ek/2-java%20mockito%20stub.mp4?dl=0))
        - [refactor test](https://github.com/201905UnitTest/java-OTP/tree/v3_2_refactor) ([操作影片](https://www.dropbox.com/s/ghcsjqm1k9awuog/3-java%20refactor%20test%20with%20stub.mp4?dl=0))
        - [mock assertion](https://github.com/201905UnitTest/java-OTP/tree/v4_mock_assertion) ([操作影片](https://www.dropbox.com/s/2ojiustzmm2f0ub/4-java%20mock%20assertion.mp4?dl=0))


## Orders