Skip to content

Unable to Run Flow Tests #25

@jonny-harte

Description

@jonny-harte

Hi, trying to test out this plugin but get the below errors.

When trying to RunLocalTests.

@salesforce/cli: Updating CLI from 2.85.7-d15631c to 2.87.7-722c9ee... done
jph@JPH-Laptop SalesforceDX % sf flow run test --test-level RunLocalTests
@salesforce/cli: Installing plugin flow@1.0.2... installed v1.0.2
Error (1): Always provide a classes, suites, tests, or testLevel property.

When specifying the flow with a test.

jph@JPH-Laptop SalesforceDX % sf flow run test --class-names Test_Account
Error (1): This class name's value is invalid: flowtesting.Test_Account. Provide the name of an Apex class that has test methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions