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

Way to specify which spec caused failure? #8

@wiltzius

Description

@wiltzius

Hello,

This plugin has been very helpful to me recently; we had unknowingly accrued some bugs because our tests were passing despite there being some JS errors thrown to console during them.

Trying to out tests in shape has been tricky, though, because when running the full suite of all our specs I can't tell which specs are producing the errors. The failures are all logged at the end, in the "plugins" section, and although they include a stacktrace for the error don't specify which spec was running when the error happened.

Is there some way to get this information logged? I looked briefly at the source, and it seems like a fix might be as simple as using the postTest plugin hook instead of the teardown plugin hook. But perhaps that causes other issues?

Thanks,
Tom

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