Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Standalone Fork command with arguments doesn't work #176

@RuslanNelipa

Description

@RuslanNelipa

> gradlew fork-runner:run -Pargs='ARGUMENTS LIST'
This command doesn't work.

I need to parse config from the file instead of gradle and it seems to be not working.

  1. ./gradlew fork-runner:run -Pargs='--config /fork_external_tests_config.json' -> Project 'fork-runner' not found in root project 'MyProject'.

  2. ./gradlew fork-runner:run -Pargs='--config /users/user/project/<full_path>/fork_external_tests_config.json' -> Project 'fork-runner' not found in root project 'MyProject'.

  3. ./gradlew fork -Pargs='--config /fork_external_tests_config.json' -> Can't find config: No strategy was chosen in configuration, so defaulting to one pool per device Configuring devices and pools failed com.shazam.fork.pooling.NoDevicesForPoolException:

fork_external_tests_config.json is located at the root of the project

content of file:
{ "title": "Title", "subtitle": "Subtitle", "testPackage": "com.package.tests.external", "retryPerTestCaseQuota": 1, "totalAllowedRetryQuota": 10, "testOutputTimeout": 300000, "poolingStrategy": { "manual": { "groupings": { "emulators": [ ".*-5554", ".*-5556" ] } } } }

version: 3.12.0

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