Unable to Run Flow Tests

Open
#25 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
cli, testing-qa

Research direction

Start by reproducing both commands from the issue: sf flow run test --test-level RunLocalTests and sf flow run test --class-names Test_Account. Trace how the flow plugin handles testLevel and class names, then verify the relevant invocation no longer produces the reported validation errors.

Written by the indexing model from the issue text.

Description

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.
Dominant language
TypeScript
Stars
1
Forks
1
Avg merge
4h 11m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.