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

feat(cts): generate tests for helpers #2798

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft

feat(cts): generate tests for helpers #2798

wants to merge 13 commits into from

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented Feb 28, 2024

🧭 What and Why

Use the helper spec to generate tests, starting with the simplest: generateSecuredApiKey

@millotp millotp self-assigned this Feb 28, 2024
Copy link

netlify bot commented Feb 28, 2024

Deploy Preview for api-clients-automation ready!

Name Link
🔨 Latest commit 04b4cd7
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/65df124d0c6b1c0008ee8180
😎 Deploy Preview https://deploy-preview-2798--api-clients-automation.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@algolia-bot
Copy link
Collaborator

algolia-bot commented Feb 28, 2024

🔨 The codegen job will run at the end of the CI.

Make sure your last commit does not contain generated code, it will be automatically pushed by our CI.

@millotp millotp force-pushed the feat/helper-tests branch 2 times, most recently from 8a51cc3 to 04b4cd7 Compare February 28, 2024 11:00
@millotp millotp changed the base branch from main to feat/go-api-key February 28, 2024 11:01
"object": "$client",
"path": "generateSecuredApiKey",
"parameters": {
"parentAPIKey": "2640659426d5107b6e47d75db9cbaef8",
Copy link
Collaborator Author

@millotp millotp Feb 28, 2024

Choose a reason for hiding this comment

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

no worries this is our search api key, this means the generated key is usable for e2e

Base automatically changed from feat/go-api-key to main February 28, 2024 12:50
@damcou
Copy link
Contributor

damcou commented Feb 28, 2024

I was about to start adding those tests for PHP by hand, is it still useful or should I wait for this PR to be merged ?

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

4 participants