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

[New Feature]: Run tests with different configurations #42921

Open
jsdjayanga opened this issue Jun 13, 2024 · 0 comments
Open

[New Feature]: Run tests with different configurations #42921

jsdjayanga opened this issue Jun 13, 2024 · 0 comments
Labels
Area/TestFramework Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) Type/NewFeature

Comments

@jsdjayanga
Copy link

Description

I want to test the behavior of a function with different configuration values.

Describe your problem(s)

Say, there is a configuration called "isMaintenanceMode" and there is a resource function that returns different responses and codes based on the value of "isMaintenanceMode".
Currently, I can test only with the default value.

Describe your solution(s)

A mechanism to change the configuration values on the run or restart the test server with different values for tests or test groups.

Related area

-> Test Framework

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

@ballerina-bot ballerina-bot added Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) Area/TestFramework labels Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/TestFramework Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) Type/NewFeature
Projects
None yet
Development

No branches or pull requests

2 participants