Giter Site home page Giter Site logo

Tests for solid-start about solid-start HOT 4 CLOSED

solidjs avatar solidjs commented on July 26, 2024
Tests for solid-start

from solid-start.

Comments (4)

atk avatar atk commented on July 26, 2024

I'll gladly help with the tests. I would currently advise using either vitest or uvu for the unit tests. SvelteKit uses uvu. Vitest currently runs only with pnpm, but since we're using that anyway, this shouldn't be an issue. Both options are viable, uvu is faster, but slightly less convenient.

from solid-start.

nksaraf avatar nksaraf commented on July 26, 2024

Yeah I too was thinking vitest should be a good option, we already know how to configure it.. the scope of the testing is a question in my mind.. we have these core APIs like server and createForm that we want to unit test.. maybe some of the server handlers.. but also seems to me that the most valuable tests are going to be the e2e playwright tests and that make sure everything works well together

from solid-start.

atk avatar atk commented on July 26, 2024

uvu works with playwright, too. But vitest is definitely more comfortable. So vitest it is?

from solid-start.

nksaraf avatar nksaraf commented on July 26, 2024

We have started adding an integration test suite with playwright, and unit tests with vitest in https://github.com/solidjs/solid-start/tree/main/test

We could definitely use contributions there as we expand our test suite!

from solid-start.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.