Làm thế nào để anh unit test cho tính năng tải file. Em có nên encode 2 file thành base64 rồi compare String 2 file, nếu bằng nhau là Pass không. Em thấy cách này nếu mà file lớn khoảng 1GB thì rất rất lâu, có cách nào k ạ
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Em có thể gọi đến file ở 1 server nào đó mà em nghĩ nó sẽ không bao giờ tắt, anh đang dùng cách này em ạ.