n30w / Darkspace

Academic project management platform for SE-2024
MIT License
0 stars 0 forks source link

Frontend Testing #32

Open n30w opened 5 months ago

n30w commented 5 months ago

Use Jest or Playwright to implement black box or white box testing. Jest is often used for Unit testing. Playwright is often used for end-to-end (E2E) or integration tests. I recommend implementing unit tests first, then working on integration tests. E2E tests are a little more complex and require more time. I don't think this is needed right now.

Remember that unit testing is about testing a function or method's input and output. Does it give the correct result? Integration testing is the scenario where you test many of these units are combined together, or integrated, and check if the result aligns with requirements.

I suggest implementing testing for the user form submission signup feature, as this is a crucial feature for the entire platform.

Notes