Golang Unit Test 101
Publish date: Jan 2, 2018
Last updated: Apr 4, 2022
Last updated: Apr 4, 2022
- unit test
- benefit
- basic unit test
- table unit test
- filter unit test
- benchmark
- coverage
- race condition
- integration test
- mock test
- http mock
- sql mock
Unit test merupakan salah satu cara untuk validasi sebuah unit terkecil dalam suatu aplikasi. Untuk apa validasi seperti ini?
- Menjaga agar tidak ada breaking