Skip to content

Test suite uses shoulda-context only.#9441

Merged
jekyllbot merged 1 commit intojekyll:masterfrom
voxik:shoulda-context
Sep 15, 2023
Merged

Test suite uses shoulda-context only.#9441
jekyllbot merged 1 commit intojekyll:masterfrom
voxik:shoulda-context

Conversation

@voxik
Copy link
Copy Markdown
Contributor

@voxik voxik commented Sep 4, 2023

This is a 🙋 feature or enhancement.

Summary

Replace shoulda by shoulda-context

Context

AFAICT, only shoulda-context is used for Jekyll test suite. Therefore replacing shoulda by shoulda-context should:

  1. Remove unneeded dependency (should, shoulda-matchers)
  2. Remove ambiguity (because are shoulda-matchers allowed or no?)
  3. Improve run time (less files to install, less libraries to load, smaller memory footprint).

Apart from this, I remember times when shoulda gem was not really maintained. The stable version still references to shoulda-matchers 4, while shoulda-matchers 5 were released more then 2 years ago.

Copy link
Copy Markdown
Member

@mattr- mattr- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jekyllbot: merge +dev

@jekyllbot jekyllbot merged commit d865905 into jekyll:master Sep 15, 2023
jekyllbot added a commit that referenced this pull request Sep 15, 2023
github-actions bot pushed a commit that referenced this pull request Sep 15, 2023
Vít Ondruch: Test suite uses shoulda-context only. (#9441)

Merge pull request 9441
@jekyll jekyll locked and limited conversation to collaborators Oct 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants