Skip to content

When a catastrophic error happens the output of tap-arc is success #26

@telmotrooper

Description

@telmotrooper

Describe the issue
When a catastrophic error happens the output of tap-arc is success. It should be an error, just as if a test failed.

Steps to reproduce
Steps to reproduce the behavior:

  1. Add anything to a test that would throw a catastrophic error such as an invalid import:
    const { hello } = require('./this-is-a-fake-path')
  2. Run tap-arc and check how even though you get errors, the output still returns success, which would make a pipeline step assume nothing went wrong with the tests.

Expected behavior
When a catastrophic error happens, the output of tap-arc should indicate failure (return 1).

Screenshots
image
(Green arrow in Oh My Zsh indicates successful execution of last command, while red indicates failure.)

Desktop
Please complete the following information (if appropriate):

  • OS: Manjaro Linux
  • Version: 0.3.3

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