Skip to content

Add Vitest and enhance testing coverage for Phoria Islands - #28

Merged
CMeeg merged 14 commits into
mainfrom
feature/add-tests
Jul 26, 2026
Merged

Add Vitest and enhance testing coverage for Phoria Islands#28
CMeeg merged 14 commits into
mainfrom
feature/add-tests

Conversation

@CMeeg

@CMeeg CMeeg commented Jul 26, 2026

Copy link
Copy Markdown
Owner

This pull request establishes a test foundation for both the JavaScript and .NET parts of the project, and updates the CI pipeline to run these tests.

Test Infrastructure and Coverage

  • Adds a new .NET test project, Phoria.Tests, with xUnit-based unit tests and integrates it into the solution and CI pipeline
  • Introduces a smoke test for the framework-multiple e2e app using Vitest, ensuring SSR and island rendering are exercised, and adds a Vitest config for smoke tests
  • Updates Nx configuration and root/package scripts to support and cache test and test:browser commands, wiring them into the monorepo test workflow

Continuous Integration Pipeline

  • Expands the GitHub Actions CI workflow to run JavaScript unit tests, browser-mode component tests, .NET tests, and e2e smoke tests in appropriate jobs, ensuring full stack coverage

@CMeeg CMeeg self-assigned this Jul 26, 2026
@changeset-bot

changeset-bot Bot commented Jul 26, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 9119c09

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@CMeeg
CMeeg merged commit 20b21b2 into main Jul 26, 2026
2 checks passed
@CMeeg
CMeeg deleted the feature/add-tests branch July 26, 2026 21:51
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.

1 participant