You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When running jest tests, I'm not able to run it.each tests or update snapshots using the Salesforce Extensions in VS Code. Instead, I need to run the whole test suite for the it.each tests or create my own script to update the snapshots. This just provides more overhead, and having these actions already supported would make testing much easier.
Describe the solution you'd like
For it.each tests, I'd like to be able to run the bundle of it.each without running the whole test suite, and it would be a plus if this was integrated with the existing 'Run Test' action. I'd also like to run these tests from the Testing tab and see their results accordingly. I understand that we can't run individual tests within the it.each bundle, but being able to run the bundle itself, independent from any other test in the suite, would already be super helpful.
For updateSnapshot, I'd like some sort of action available to let me update my snapshots within VS Code.
Describe alternatives you've considered
For it.each tests:
Running the whole suite
For updateSnapshot:
Updating my package.json to include a new updateSnapshot script and execute that command line
Run the updated script from the Debugger section
Additional context
Add any other context or screenshots about the feature request here.
This discussion was converted from issue #3548 on August 30, 2024 17:03.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is your feature request related to a problem? Please describe.
When running jest tests, I'm not able to run
it.each
tests or update snapshots using the Salesforce Extensions in VS Code. Instead, I need to run the whole test suite for theit.each
tests or create my own script to update the snapshots. This just provides more overhead, and having these actions already supported would make testing much easier.Describe the solution you'd like
For
it.each
tests, I'd like to be able to run the bundle ofit.each
without running the whole test suite, and it would be a plus if this was integrated with the existing 'Run Test' action. I'd also like to run these tests from the Testing tab and see their results accordingly. I understand that we can't run individual tests within theit.each
bundle, but being able to run the bundle itself, independent from any other test in the suite, would already be super helpful.For
updateSnapshot
, I'd like some sort of action available to let me update my snapshots within VS Code.Describe alternatives you've considered
For
it.each
tests:For
updateSnapshot
:package.json
to include a newupdateSnapshot
script and execute that command lineAdditional context
Add any other context or screenshots about the feature request here.
Beta Was this translation helpful? Give feedback.
All reactions