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

Refactor tests and build process #496

Merged
merged 13 commits into from
Aug 29, 2024
Merged

Conversation

wuda-io
Copy link
Member

@wuda-io wuda-io commented Aug 29, 2024

Proposed changes

Improve the building process (ci) and improve testing speed ~6 sec for all tests at my machine now. Can even be done faster. Removed Grunt and made ready for backend integration using RollupJS and generating CommonJS, ESM and IIFE Modules. Also fixing two bugs, see commit messages for more info.

Types of changes

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to change).

Checklist:

  • I have read the CONTRIBUTING document.
  • My commit messages follows the conventional commit format
  • My change requires a change to the documentation, and updated it accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Remove grunt completely from build process and run browser tests dirctly with jasmine-browser-runner. Also improves the speed of testing a lot since there is no additional layer in between.
All tests are running now under 10 sec! Also the tests can be watched visually with the command "npx jasmine-browser-runner serve". This is a huge performance improvement and allows much faster testing.
@wuda-io wuda-io self-assigned this Aug 29, 2024
@wuda-io wuda-io merged commit c8e29a9 into v2-dev Aug 29, 2024
2 checks passed
@wuda-io wuda-io deleted the refactor-tests-and-build-process branch August 30, 2024 10:15
@wuda-io wuda-io mentioned this pull request Aug 30, 2024
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