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

test: separate integration tests from single plugin tests #1409

Merged
merged 1 commit into from May 30, 2022

Conversation

ludofischer
Copy link
Collaborator

@ludofischer ludofischer commented May 29, 2022

Most tests that exercise the default preset as a whole were in the
cssnano directory, but some were mixed with the individual plugin tests.

  • To distinguish the effect of each individual plugin, move all
    remaining integration tests in the cssnano test directory.

  • Convert tests that only check the effect of a single plugin,
    to only use that plugin.

This will make it easier to experiment with merging plugins.

The number of tests stays the same. There are 2383 tests before and after the change.

Most tests that exercise the default preset as a whole were in the
cssnano directory, but some were mixed with the individual plugin tests.

* To distinguish the effect of each individual plugin, move all
remaining integration tests in the cssnano test directory.

* Convert tests that only check the effect of a single plugin,
to only use that plugin.
@codecov-commenter
Copy link

codecov-commenter commented May 29, 2022

Codecov Report

Merging #1409 (f05e9ff) into master (b842e72) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1409   +/-   ##
=======================================
  Coverage   97.61%   97.61%           
=======================================
  Files         122      122           
  Lines        9993     9993           
=======================================
  Hits         9755     9755           
  Misses        238      238           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b842e72...f05e9ff. Read the comment docs.

@ludofischer ludofischer merged commit ffa084e into master May 30, 2022
17 checks passed
@ludofischer ludofischer deleted the reorg-tests branch May 30, 2022
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.

None yet

3 participants