hbarton2 / cscd350-f24-UnhandledExceptions

0 stars 0 forks source link

[Field/Methods] Change Parameter #14

Closed coreybasden closed 2 weeks ago

coreybasden commented 3 weeks ago

As a user, I want to be able to make alterations to parameters I’ve added to a method within a class, So that I don’t have to delete and re-add due to changes or mistakes.

tharium commented 3 weeks ago

Scenario: Change Parameter Given I am on the method management screen of the program, And I have an existing method with an existing parameter I want to change, When I type "change parameter 'old parameter name' to 'new parameter name' in 'method name'", Then I should see a message stating "parameter 'old parameter name' successfully changed to 'new parameter name' in method 'method name'" And the UML Diagram should update to reflect the parameter name has been changed for the given method.

tharium commented 3 weeks ago

Scenario: Change Parameter that does not exist Given I am on the method management screen of the program, And I want to change a parameter that does not exist, When I type "change parameter 'parameter name' to 'new parameter name' in 'method name'", I should see a message stating "No parameter 'parameter name' found in 'method name', And the UML Diagram should not change.