Skip to content

Log tests as soon as they start #1084

Closed

Description

@joshbruce

Marked version: 0.3.16

Proposal type: new feature

What pain point are you perceiving?

Was interacting with @davisjam on #1083 and related issues. There were two tests created for the REDOS check. I wasn't sure which test had actually experienced the DOS.

What solution are you suggesting?

I think the tests run in alphabetical order. If so, it would have been the second test that failed, not the first. Therefore, curious if we could console log as soon as the test starts - when they fail, new lines are created anyway; so, not sure the cost benefit analysis is there for have them on one line.

##. some-test
w00t!
##. some-other-test
failed

expected: ...

result: ...
##. some-ci-breaking-test

The CI service timed out

Activity

  1. added
    RR - refactor & re-engineer
    on Feb 26, 2018
  2. UziTech commented on Feb 26, 2018

    @UziTech
    Member

    Would be nice to also add test time to the output. something like:

    ##. some-test
    passed 375ms
    ##. some-other-test
    failed 2s
    
  3. joshbruce commented on Feb 26, 2018

    @joshbruce
    MemberAuthor

    @UziTech: Nice!

    Could use a second pair of eyes over on #1083 when you got a minute, if you don't have a problem with the plan. Maybe merge it in, I'll just finish off the plan.

  4. joshbruce commented on Feb 26, 2018

    @joshbruce
    MemberAuthor

    @davisjam did some really nice updates - think the foundations are in place once we get that merged in should just be a matter of strings and a timer??

  5. added a commit that references this issue on Feb 26, 2018
  6. added a commit that references this issue on Nov 8, 2021
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

    RR - refactor & re-engineerquestion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions