Skip to content

How/what to test when testing vue components #1344

Closed
@lmiller1990

Description

@lmiller1990

Hi,

I would like to contribute to the cookbook, regarding how and what to test when testing Vue components.

I wrote this for the vue-test-utils documentation recently. I also write a lot about testing Vue components here, so maybe something based on those articles.

The main things I want to convey are

  • what is in the scope of unit tests
  • when to mock/stub
  • common pitfalls

Edit: I do not know how to assign a label.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions