Skip to content

Conversation

@hdJerry
Copy link
Contributor

@hdJerry hdJerry commented Oct 22, 2025

This PR introduces Vitest as the project’s testing framework to support unit testing for Vue components and utilities.

Changes introduced:

Added Vitest and @vue/test-utils as dev dependencies

Created vitest.config.ts with jsdom test environment

Added example test (HelloWorld.test.ts) to confirm configuration works

Added test, test:watch, and test:ui scripts to package.json

Motivation:
Testing is an important step toward improving project stability and long-term maintainability.
By adding Vitest early, we create a reliable foundation for contributors to add and maintain tests as features evolve.

Copy link
Contributor

@p-kuen p-kuen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution! I have some questions and some feedback.

It would also be very helpful to add a github workflow for this.

@hdJerry hdJerry requested a review from p-kuen October 23, 2025 13:25
@hdJerry
Copy link
Contributor Author

hdJerry commented Oct 23, 2025

I will look into adding a GitHub workflow later in the day.
@p-kuen

Copy link
Contributor

@p-kuen p-kuen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I adapted dependency files a bit. Ready for merge now.

@p-kuen p-kuen merged commit cd62910 into cloudacy:master Oct 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants