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

Ability to specificy which json file to use instead of test_input.json #339

Open
captainjapeng opened this issue Sep 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@captainjapeng
Copy link

Is your feature request related to a problem? Please describe.
When testing locally, Serverless only accepts a string input via --test-input or via test_input.json. A task may have different input fields depending on the desired output so we have to keep modifying test_input.json to test specific behaviors.

Describe the solution you'd like
It would be nice we there's a way to point to a specific json file to use using the command line like --test-file other.json.

Describe alternatives you've considered

Additional context

@captainjapeng captainjapeng added the enhancement New feature or request label Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant