Skip to content
raindev.fyi
  • Guides
  • Paths
  • Glossary
  • About

    tab / arrows move enter opens esc closes

    Home / Topics / Testing

    Testing

    Unit tests, integration tests, and why tests are most useful when they're automated.

    4 guides

    • Why tests exist

      Hand-checking your app is already testing. A test is that same check written down so a machine can repeat it forever, which is what makes code safe to change later.

      Beginner · 9 min read
    • Choose unit and integration tests

      What unit, integration, and end-to-end tests each cover, what each one costs, and how to split the work on your first real project.

      Beginner · 11 min read
    • Write your first tests

      Set up Vitest, write your first describe/it/expect tests, and aim them at the functions with real edge cases. Then break one on purpose, because a test you have never seen fail proves nothing.

      Beginner · 11 min read
    • Run your tests in CI

      Wire your test runner into GitHub Actions with one small workflow file, walk it line by line, and make the green check required so untested code can't reach main.

      Intermediate · 11 min read

    end of transmission

    School taught you how to code.
    raindev.fyi teaches you how to ship.

    raindev.fyi
    • guides
    • learning paths
    • topics
    • glossary
    • about
    • rss

    © 2026 raindev.fyi · built with astro · broadcasting from localhost