looking for a easy to get started guide with vitest and testing in general #9145
Unanswered
Keshav-writes-code
asked this question in
Q&A
Replies: 2 comments 2 replies
-
|
I saw this one recently, it's quite good, although makes some wrong assumptions: https://howtotestfrontend.com/resources/vitest-browser-mode-guide-and-setup-info |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
what is the api |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
so, i am building a cross platform, notes taking app called Cherit.
the frontend is written in svelte with vite.
want i want to achive is test custom js function that build a file tree from tauri's fs apis for js for diffrent platforms.
the getting started guide for vitest is too hard for me to get started with testing. although i know a little bit about testing from college, i never actually implmented it until now that i feel the need to.
my main goal from testing is regression testing so that new changes to file system function don't mess up existing behaviour
i would be very happy if i could find a article or a tutorial for begineers with vitest and specifically regression testing with vitest and best practises for a tauri vite project
[EDIT]
i want to stickly focus on just pure function testing right now, not UI testing like running a full browser and stuff
thanks
Beta Was this translation helpful? Give feedback.
All reactions