website icon indicating copy to clipboard operation
website copied to clipboard

test: add tests for netlify functions

Open Shurtu-gal opened this issue 1 year ago • 13 comments

Description

  • Added tests for netlify edge functions.
  • Workflow added to verify the tests. Sample run can be found here

Related issue(s) Fixes #842

Shurtu-gal avatar Dec 21 '23 21:12 Shurtu-gal

Deploy Preview for asyncapi-website ready!

Built without sensitive environment variables

Name Link
Latest commit 88f0a72ad7eb12d289c81eb0ed8de841a40fd5af
Latest deploy log https://app.netlify.com/sites/asyncapi-website/deploys/664e47bf4d2d62000814f65f
Deploy Preview https://deploy-preview-2493--asyncapi-website.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.

netlify[bot] avatar Dec 21 '23 21:12 netlify[bot]

⚡️ Lighthouse report for the changes in this PR:

Category Score
🔴 Performance 42
🟢 Accessibility 98
🟢 Best practices 92
🟢 SEO 100
🟠 PWA 56

Lighthouse ran on https://deploy-preview-2493--asyncapi-website.netlify.app/

asyncapi-bot avatar Dec 21 '23 21:12 asyncapi-bot

@Shurtu-gal In order to clarify the desired coverage of the test, I created the following flowchart explaining the flow the edge function should accomplish.

EDIT: please find it here.

Based on that, I believe we should have a test for each result of every decision (diamonds).

WDYT?

smoya avatar Jan 08 '24 18:01 smoya

This pull request has been automatically marked as stale because it has not had recent activity :sleeping:

It will be closed in 120 days if no further activity occurs. To unstale this pull request, add a comment with detailed explanation.

There can be many reasons why some specific pull request has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this pull request forward. Connect with us through one of many communication channels we established here.

Thank you for your patience :heart:

github-actions[bot] avatar May 12 '24 00:05 github-actions[bot]

@Shurtu-gal are you still up on this?

smoya avatar May 20 '24 12:05 smoya

@Shurtu-gal are you still up on this?

Yeah, sorry this totally went out of my mind. Let me look at it again. Might need some time to get what I was doing though 🤣

Shurtu-gal avatar May 20 '24 14:05 Shurtu-gal