vuejs / test-utils-docs

Docs for vue-test-utils-next

Home Page:https://next.vue-test-utils.vuejs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What test runners should we take into account?

afontcu opened this issue · comments

Can we provide configuration guides for Jest+Mocha but then just use Jest for the rest of guide?

Sounds good - we can say we are assuming Jest at the start of the guide. Not sure we need to provide too much actual docs around configurating at all - we could just provide some repositories that are preconfigured and ready to go, as well as a vue-cli plugin.

I also think keeping to Jest (its kind of standard around these days) is good.

But keeping setup guides for both is also necessary, as beginners expect this to be here, its the testing docs 😆

Sure!

Let's agree on:

  • Providing basic setup guides for Jest and Mocha, and/or links to vue-cli plugins, some example repos, whatever.
  • Assume Jest for the rest of the guide (trying to avoid complex stuff such as partial matches and so on)

^ works for me!

Also I don't think beginners want to configure things (I didn't). I think we should provide a template or something, this way beginners do not need to mess with config. When I started off, I used vue-cli and it just worked - no config needed.

Adding VTU to an existing project will always be more complex because of the unknown amount of dependencies (style loaders, languages, templating languages...).