fluxxus-nl / ATDD.TestScriptor.VSCodeExtension

VSCode extension for Acceptance Test-Driven Development test scriptor
MIT License
18 stars 3 forks source link

Update TestScriptor page when manually adding a GIVEN/THEN #48

Open lvanvugt opened 3 years ago

lvanvugt commented 3 years ago

Can we make TestScriptor page to automatically update/refresh?

DavidFeldhoff commented 3 years ago

@martonsagi should I add a filewatcher or have you already implemented something for that?

lvanvugt commented 3 years ago

@martonsagi, is this something we could simply enable for now by adding a refresh action on the TestScriptor page?

DavidFeldhoff commented 3 years ago

@martonsagi I think I've experienced that there's already something in place for that. Have you added a filewatcher for that and is this issue than obsolete?

lvanvugt commented 3 years ago

Indeed there is a file watcher and works fine, but not always. Would like to have an action on the TestScriptor page that will trigger a refresh.

DavidFeldhoff commented 3 years ago

@martonsagi: Can I do something here for now? I would wait for something from your site to get active here.

DavidFeldhoff commented 3 years ago

We're going to add an action here that refreshes the content of the ATDD

lvanvugt commented 3 years ago

Retesting should show if it's still valid

lvanvugt commented 1 year ago

Retesting as part of #114 showed it is still not refreshing in all cases and no action available.

lvanvugt commented 1 year ago

Seems that scenario line in feature/scenario listing in ATDD.TestScriptor is updated but in the individual scenario pane not. When reselecting scenario line in list the scenario pane is updated again.

lvanvugt commented 1 year ago

We're going to add an action here that refreshes the content of the ATDD

To be picked up in this way.

lvanvugt commented 1 year ago

The new button exists in version 0.9.282: image

lvanvugt commented 1 year ago

@martonsagi, we do have the refresh button, but when testing (adding scenarios below) pressing the button does not do anything. You might have mentioned that this week, I a now wondering.

Scenarios

No. Feature Scenario
0116 Add Given Add Given manually
0117 Add Then Add Then manually
0118 Remove Given Remove Given manually
0119 Remove Then Remove Then manually

in atdd-test-scenarios-and-results.xlsx

Note

When adding/removing a scenario related test method the TestScriptor page is automatically updated. See scenarios:

No. Feature Scenario
0120 Add Scenario Add Scenario manually
0121 Remove Scenario Remove Scenario manually