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

feat: allow printing datafile per environment #275

Merged
merged 2 commits into from
Mar 9, 2024
Merged

Conversation

fahad19
Copy link
Member

@fahad19 fahad19 commented Mar 9, 2024

What's done

Generate and print datafile content on the fly for both specific feature and also all features in a given environment, without affecting any state on the disk.

Comparison

Before

We could only do:

$ featurevisor build --feature=foo --environment=production --print --pretty

After

Now, we can also print datafile for a specific environment (containing all its features):

$ featurevisor build --environment=production --print --pretty

@fahad19 fahad19 self-assigned this Mar 9, 2024
@fahad19
Copy link
Member Author

fahad19 commented Mar 9, 2024

@polok, @Tan108: this will be valuable for your test runners since you don't have to generate datafile on a per feature any more.

similar technique was applied with the new --fast option, which made JavaScript Test Runner 100x faster: https://featurevisor.com/docs/testing/#fast

@fahad19 fahad19 merged commit 28b4a0f into main Mar 9, 2024
1 check passed
@fahad19 fahad19 deleted the print-datafile-env branch March 9, 2024 15:10
fahad19 added a commit that referenced this pull request Mar 10, 2024
* main:
  docs: Fastify integration (#270)
  docs: add Roku SDK documentation (#272)
  docs: fix code block
  v1.11.0
  feat: revisioning info moved to its own file (#274)
  v1.10.1
  fix: init command (#277)
  v1.10.0
  feat: allow showing only failed specs in test runner (#276)
  v1.9.0
  feat: allow printing datafile per environment (#275)
  docs: updated next js docs to include app router example (#268)
  v1.8.0
  feat: allow option to test by generating datafiles early (#267)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant