Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add feature fake data provider #777

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

Open
abhinavs1920 wants to merge 5 commits into foss42:main
base: main
Choose a base branch
Loading
from abhinavs1920:add-feature-fake-data-provider

Conversation

@abhinavs1920
Copy link
Contributor

@abhinavs1920 abhinavs1920 commented Apr 6, 2025
edited
Loading

PR Description

Implemented Fake Data Providers for API Dash to streamline testing.
Users can now use dynamic placeholders like {{$randomEmail}}, {{$randomUsername}}, {{$randomId}} in their API requests, which will automatically be replaced by randomized data at runtime.

This feature reduces manual effort during testing and enhances the developer experience.
It builds on the existing environment variable system without changing or breaking existing functionality.
A new section titled Fake Data Providers has been added to the environment management interface to guide users.

Some parts of code are generated with the help of AI tools.

Related Issues

Checklist

  • I have gone through the contributing guide
  • I have updated my branch and synced it with project main branch before making this PR
  • I am using the latest Flutter stable branch (run flutter upgrade and verify)
  • I have run the tests (flutter test) and all tests are passing

Added/updated tests?

We encourage you to add relevant test cases.

  • Yes
  • No, and this is why: Will add the tests once the approach is finalized.

OS on which you have developed and tested the feature?

  • Windows
  • macOS
  • Linux

Copy link
Contributor Author

@animator
Please look into this PR.
Thanks!

Copy link
Contributor Author

@animator @ashitaprasad @DenserMeerkat
please check it, whenever you are available.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Implement Mock Data provider for API Testing

1 participant

AltStyle によって変換されたページ (->オリジナル) /