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

Improve test config change handling (#164) #177

Merged
merged 18 commits into from
Nov 15, 2024

Conversation

MarioFuchsTT
Copy link
Collaborator

Resolves #164

@MarioFuchsTT MarioFuchsTT self-assigned this Sep 12, 2024
@MarioFuchsTT MarioFuchsTT added the documentation Improvements or additions to documentation label Sep 12, 2024
@MarioFuchsTT MarioFuchsTT force-pushed the i164_improve-test-config-change-handling branch from f59a966 to 92b5f33 Compare October 4, 2024 10:32
Copy link
Contributor

@MartinGroscheTT MartinGroscheTT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • use multiple @QueryParameter within TestConfig.groovy to show the user the relationship between both parameters and KEEP
    FormValidation doCheckTbcPath(@QueryParameter("tbcPath") String tbcPatch,
                                        @QueryParameter("tcfPath") String tcfPath) {
        // check implememntation to WARN the user if one of the parameter is KEEP and the other is not
    }
    
  • using the snippet generator it is not possible to set tbc or tcf empty, find a way to make it possible so the user can unload the configuration via snippet generator (Hint: use Optional Block)

@MarioFuchsTT MarioFuchsTT force-pushed the i164_improve-test-config-change-handling branch from 7ea33e4 to d315fb2 Compare October 21, 2024 08:12
Copy link
Contributor

@MartinGroscheTT MartinGroscheTT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • currently the snippet generator allows both ttRunPackage testCasePath: 'test.pkg', testConfig: [forceConfigurationReload: true, tbcPath: 'test.tbc', tcfPath: 'test.tcf']
  • this should be tested

@MartinGroscheTT MartinGroscheTT self-requested a review November 5, 2024 09:11
Copy link
Contributor

@MartinGroscheTT MartinGroscheTT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ups

@MartinGroscheTT MartinGroscheTT force-pushed the i164_improve-test-config-change-handling branch from 875e834 to 2912487 Compare November 15, 2024 09:11
@MartinGroscheTT MartinGroscheTT force-pushed the i164_improve-test-config-change-handling branch from 56dc5b0 to 12c7672 Compare November 15, 2024 11:15
@MartinGroscheTT MartinGroscheTT self-assigned this Nov 15, 2024
@MarioFuchsTT MarioFuchsTT merged commit 1940e07 into main Nov 15, 2024
18 checks passed
@MarioFuchsTT MarioFuchsTT deleted the i164_improve-test-config-change-handling branch November 15, 2024 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve test config change handling
2 participants