GoogleCloudPlatform / GoogleCloudPlatform/functions-framework-nodejs

Enable testServer usage with

Open
#404 0 comments 0 reactions 0 assignees View on GitHub
enhancement P3
Dominant language
TypeScript
Stars
1.4k
Forks
181
PR merge metrics
No merged PRs in 30d

Description

Currently the `testServer` helper only works with declaratively register functions. We should find a way to make it work with the old background functions as well.

One idea is to have it accept a function as an argument instead of the registered name...

Contributor guide

Open the contributing guide

Research direction

Start at the testServer helper entry point and trace how it resolves declaratively registered functions versus old background functions. Done means testServer can exercise a background function while preserving its existing behavior for declarative registrations.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
backend, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.