devonfw / IDEasy

Tool to automate the setup and updates of a development environment for any project (Successor of devonfw-ide).
Apache License 2.0
7 stars 18 forks source link

#343: suppress success message of single step #413

Closed hohwille closed 1 week ago

hohwille commented 1 week ago

Fixes #343

Now, a Commandlet that does not explicitly create Steps will not get a success summary of its steps. Only in case of an error this will be printed or if --trace is enabled, you will get all the details how long it took.

Before:

$ ide complete in
install
intellij
Successfully completed ide (complete,in)

After this change:

$ ide complete in
install
intellij

Method isSuppressStepSuccess() is now only needed if you trigger steps from your Commandlet but still do not want to get the summary on success.

coveralls commented 1 week ago

Pull Request Test Coverage Report for Build 9662277354

Details


Files with Coverage Reduction New Missed Lines %
com/devonfw/tools/ide/commandlet/EnvironmentCommandlet.java 3 76.92%
<!-- Total: 3 -->
Totals Coverage Status
Change from base Build 9660998058: -0.02%
Covered Lines: 4985
Relevant Lines: 7941

💛 - Coveralls
coveralls commented 1 week ago

Pull Request Test Coverage Report for Build 9662448112

Details


Files with Coverage Reduction New Missed Lines %
com/devonfw/tools/ide/commandlet/EnvironmentCommandlet.java 3 76.92%
<!-- Total: 3 -->
Totals Coverage Status
Change from base Build 9660998058: -0.02%
Covered Lines: 4985
Relevant Lines: 7941

💛 - Coveralls
coveralls commented 1 week ago

Pull Request Test Coverage Report for Build 9662914668

Details


Files with Coverage Reduction New Missed Lines %
com/devonfw/tools/ide/commandlet/EnvironmentCommandlet.java 3 76.92%
<!-- Total: 3 -->
Totals Coverage Status
Change from base Build 9662676949: -0.02%
Covered Lines: 4985
Relevant Lines: 7941

💛 - Coveralls