The Testing Question #8
Mateusz-Dobrzynski
started this conversation in
General
Replies: 2 comments
-
i'd assume we'd use https://playwright.dev/ for e2e & some react unit testing library |
Beta Was this translation helpful? Give feedback.
0 replies
-
Created an issue for Playwright setup (#79). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We don't use any testing frameworks at the moment. This is a problem because, as the code base grows and becomes more interconnected, the risk of bugs creation grows. We want functional software (of course), especially since its use case is competitive tournaments. High test coverage is yet another way of gaining trust.
I don't know how to test a UI-heavy project like Debate Tools. One idea coming to my mind is using Beautiful Soup, a tool for web scraping. It is, however, a Python library. We could use an equivalent suitable for our tech stack, assuming there is one.
There are, of course, unit tests and we could use them for testing functions called under the hood. That will be crucial for tau, so it's important to start with good practices in mind. But for that, we need to decide how to test. Hence, I'm starting the discussion.
@jakubmanczak, @BoberITman
Beta Was this translation helpful? Give feedback.
All reactions