Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snapshot testing #86

Closed
MSzalowski opened this issue Jan 29, 2024 · 1 comment
Closed

Snapshot testing #86

MSzalowski opened this issue Jan 29, 2024 · 1 comment
Assignees
Labels

Comments

@MSzalowski
Copy link
Contributor

Why

To easily track changes in conditionally rendered layouts (with a hard to track conditions that are going on), changes that involve variables and variable scoped pieces of layouts to render, etc.

This PR is a perfect example of a need of snapshot tests. With such functionality it would be much easier to check whether i18n provided via that pr works (translations are placed where they should be placed, there are no typos in translations and so).

What

Unit testing is already on this pr. As it uses Vitest, we should also use part of vitest that includes snapshot testing.

How

Following this guide.

@Ryun1
Copy link
Member

Ryun1 commented Aug 7, 2024

very old, lets close

@Ryun1 Ryun1 closed this as completed Aug 7, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in Govtool all Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

4 participants