Skip to content

build: add new unit testing method - #761

Merged
pyrooka merged 3 commits into
mainfrom
lt/unit-test-poc
Sep 9, 2025
Merged

build: add new unit testing method#761
pyrooka merged 3 commits into
mainfrom
lt/unit-test-poc

Conversation

@diatrcz

@diatrcz diatrcz commented Aug 28, 2025

Copy link
Copy Markdown
Contributor

PR summary

Adds new way to create unit tests without using the root document for testing.

PR Checklist

General checklist

Please make sure that your PR fulfills the following requirements:

  • The commit message follows the Angular Commit Message Guidelines.
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • Dependencies have been updated as needed
  • .secrets.baseline has been updated as needed
  • npm run update-utilities has been run if any files in packages/utilities/src have been updated

Checklist for adding a new validation rule:

  • Added new validation rule definition (packages/ruleset/src/rules/*.js, index.js)
  • If necessary, added new validation rule implementation (packages/ruleset/src/functions/*.js, updated index.js)
  • Added new rule to default configuration (packages/ruleset/src/ibm-oas.js)
  • Added tests for new rule (packages/ruleset/test/*.test.js)
  • Added docs for new rule (docs/ibm-cloud-rules.md)
  • Added scoring rubric entry for new rule (packages/validator/src/scoring-tool/rubric.js)

Dan Hudlow and others added 2 commits April 10, 2025 11:23
Signed-off-by: Dan Hudlow <dhudlow@us.ibm.com>
Signed-off-by: Lídia Tarcza <100163235+diatrcz@users.noreply.github.com>
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ diatrcz
❌ Dan Hudlow


Dan Hudlow seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@diatrcz diatrcz changed the title Lt/unit test poc feat: add new unit test Aug 28, 2025
@diatrcz
diatrcz requested a review from pyrooka August 28, 2025 14:23

@pyrooka pyrooka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@diatrcz diatrcz changed the title feat: add new unit test build: add new unit testing method Sep 9, 2025
@pyrooka
pyrooka merged commit 4713471 into main Sep 9, 2025
6 of 7 checks passed
@pyrooka
pyrooka deleted the lt/unit-test-poc branch September 9, 2025 14:08
@ibm-devx-sdk

Copy link
Copy Markdown

🎉 This PR is included in version 1.33.0 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@ibm-devx-sdk

Copy link
Copy Markdown

🎉 This PR is included in version 1.37.0 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@ibm-devx-sdk

Copy link
Copy Markdown

🎉 This PR is included in version 1.9.1 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants