swsnu / swppfall2021

Learning Software Engineering By Building Web Services
28 stars 19 forks source link

A question about testing library. #83

Open rkdgnlgus2 opened 3 years ago

rkdgnlgus2 commented 3 years ago

Hello, I have question about testing library.

Can I use react-testing-library instead of Enzyme in HW3 and future Project?

Thanks in advance.

kdh0102 commented 3 years ago

Please use Enzyme for hw3. It is specified in the homework3 spec. Let me know if Enzyme does not work for your implementation.

All pages/components should have proper unit tests to test its functionalities, using Jest and Enzyme that are covered in the practice session. Your tests are expected to cover all of your code, and we will give credits according to your coverage results. You can see the coverage information of your application by using npm test -- --coverage. Also, all of your tests must pass.

rkdgnlgus2 commented 3 years ago

Thank you for quick response!