lumitry / myMedia

(working title) media library for people who hate using their browsers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test Suite

lumitry opened this issue · comments

Creating a test suite that verifies everything is working properly, and keeping it updated is important.

Ideally, I'd be using Vitest and Playwright for the frontend, as well as, seemingly, the #[cfg(test)] mod in Rust.

  • Create test dataset (INSERT statements, basically) (Should include all valid media types)
  • Backend testing (Rust) (look into if there are other, simpler rust frameworks, maybe something with mocks? not sure yet)
  • Vitest
  • Playwright
  • Maybe some code coverage tool for sanity checking? I'm not aiming for a percentage since code cov is generally pretty flawed, but higher number is generally better.