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

100% Test Coverage #91

Merged
merged 6 commits into from
Oct 16, 2023
Merged

100% Test Coverage #91

merged 6 commits into from
Oct 16, 2023

Conversation

Niicck
Copy link
Collaborator

@Niicck Niicck commented Oct 15, 2023

  • Merged master into setup-tests branch
  • Added 100% Test Coverage
  • Added a patch_settings to allow us to directly test the effect of settings on our DjangoViteAssetLoader methods.
  • Moved templatetag tests into their own distinct test files
  • Added a "debugpy" env in tox to optionally use debugpy during tests
  • Require 100% code coverage for tests to pass

gone and others added 5 commits June 8, 2023 15:04
* preloading shared imports as part of tag generation

* adding preload tag

* Updated documentation

* Updating preloading to use staticfiles

* one more documentation update
@Niicck Niicck changed the title (wip) setup-tests continued 100% Test Coverage Oct 15, 2023
@thijskramer thijskramer merged commit 94154c7 into MrBin99:setup-tests Oct 16, 2023
thijskramer added a commit that referenced this pull request Oct 16, 2023
* create patch_settings fixture

* 100% test coverage

---------

Co-authored-by: Ben Beecher <[email protected]>
Co-authored-by: Eddy Brown <[email protected]>
Co-authored-by: Thijs Kramer <[email protected]>
Co-authored-by: Niicck <[email protected]>
thijskramer added a commit that referenced this pull request Oct 16, 2023
* setup tests, linting and codestyle checks

* add a simple smoke test with some standard django settings

* add Github Action to run Tox test matrix

* fix codestyle warning

* update pre-commit config

* re-format code with black

* add troves to clarify for which django and python versions Django-Vite is intended

* fix linting errors

* add tests for templatetags

* Add tests to achieve 100% Test Coverage (#91)

* create patch_settings fixture

* 100% test coverage

* add Python 3.12 to test matrix

* do not fail tests under 100%; also ensure imports are sorted

---------

Co-authored-by: Nick Ivons <[email protected]>
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.

4 participants