Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Warning message is not displayed when tests are skipped explicitly #919

Closed
azlam-abdulsalam opened this issue Apr 5, 2022 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@azlam-abdulsalam
Copy link
Contributor

Describe the bug
A clear and concise description of what the bug is.

sfpowerscripts used to display a warning when 'skipTests' are used. This was helpful for users to understand that this package was not ready for production where test coverage is mandatory.

To Reproduce
Steps to reproduce the behavior:

  1. Enable the property skipTesting on a source package that contains Apex
  2. Build the packages
  3. Install the package to a sandbox
  4. Notice there are no warnings

Expected behavior
A clear and concise description of what you expected to happen.

sfpowerscripts should display warning messages when packages with explicit 'skipTests' are deployed to sandbox.

Implementation note: This warning should be disabled in validate command, where all packages are deployed by skipping tests and then tests are triggered to compute coverage

Platform Details (please complete the following information):

  • OS: All
  • Version [e.g. CLI Version eg: 1.6.6]: February 22 and beyond
  • Salesforce CLI(sfdx cli) Version: N/A
  • CI Platform: All

Additional context
Add any other context about the problem here.

@azlam-abdulsalam azlam-abdulsalam added the bug Something isn't working label Apr 5, 2022
@azlam-abdulsalam azlam-abdulsalam self-assigned this Apr 5, 2022
@azlam-abdulsalam azlam-abdulsalam added this to the Release June 2022 milestone May 20, 2022
@azlam-abdulsalam
Copy link
Contributor Author

Fixed in #994

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant