Skip to content
This repository was archived by the owner on Mar 18, 2024. It is now read-only.
This repository was 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

Description

@azlam-abdulsalam

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.

Activity

  1. added
    bug
    on Apr 5, 2022
  2. azlam-abdulsalam commented on Jun 14, 2022

    @azlam-abdulsalam
    ContributorAuthor

    Fixed in #994

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions