1. Use sqlmock for unit testing based on mysql db. Set expectations logic; Run simulation test; Check data consistency. 1.1 Sample code preparation to be tested.
確定! 回上一頁