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

Move tests into individual packages #8

Merged
merged 1 commit into from
Feb 26, 2024
Merged

Move tests into individual packages #8

merged 1 commit into from
Feb 26, 2024

Conversation

elliotgoodrich
Copy link
Owner

Tests were originally put into a separate package and then link in all of the plugin packages to check that I had the correct entry points set up in package.json. As we are self-hosted it should be obvious when this breaks now.

The downside of external packages means that if we break a plugin and it fails to build, then we are unable to run the tests for any plugin at all as it would be a dependency. It also means less chance of parallelization because every test depends on every plugin.

Tests were originally put into a separate package and then link in all
of the plugin packages to check that I had the correct entry points set
up in `package.json`.  As we are self-hosted it should be obvious when
this breaks now.

The downside of external packages means that if we break a plugin and it
fails to build, then we are unable to run the tests for any plugin at
all as it would be a dependency.  It also means less chance of
parallelization because every test depends on every plugin.
@elliotgoodrich elliotgoodrich merged commit 4b21905 into main Feb 26, 2024
9 checks passed
@elliotgoodrich elliotgoodrich deleted the move-tests branch February 26, 2024 06:45
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