Skip to content

Place machine-readable output as a file #91

Description

@riywo

High level commands such as web test run use stdout for informing to the human user. Therefore, it is not easy to pass the re-usable data to other process via pipe.

We could use stderr for logging and stdout for machine-readable information but such convention will break easily. Also, machine-readable information is not needed for human.

Thus, we should put such data on data directory like ~/.data/autify/output/web-test-run-<timestamp>-<pid>.json then print the location as a log. The other process like CI/CD integration can parse the file location from log easily and get the output in json format.

Activity

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

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