Replies: 2 comments 4 replies
-
|
Fair question. I have mixed feelings about that, given some of the unique characteristics of this project. In particular, there's a bit of a complicated interchange between the JS of the page, the JS in a web worker, and a WASM module (doing the Argon2 password hashing). Throw in that we're storing data in It would require, most likely, an automated integration test in some scriptable browser environment (not like a virtualized DOM in Node), perhaps Puppeteer or PhantomJS or something like that. I think eventually that might in fact be useful, but so much about about the app's interface and interaction is going to change, if we set out a bunch of specific integration tests right now, those tests are going to be constantly either broken or needing update, something that may slow down dev. So it's a bit of a difficult tradeoff. But I'm certainly open to feedback/discussion here. |
Beta Was this translation helpful? Give feedback.
-
|
What do you all think? https://dev.to/polterguy/unit-testing-frontend-code-is-probably-useless-27n9 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks!
Are we considering any automated test of the source code?
As the source code starts to grow up it would be difficult to be sure that everything is working as expected...
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions