Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve test result accessibility #3082

Merged
merged 14 commits into from Sep 4, 2022

Commits on Aug 6, 2022

  1. Explain diff gutter symbols

    gibson042 committed Aug 6, 2022
    Copy the full SHA
    6e1dbb9 View commit details
    Browse the repository at this point in the history
  2. Add test result labels

    Color covers figure and label, and indicates passed-as-expected
    vs. not (expected/unexpected fail or unexpected pass).
    
    Fixes avajs#2919
    gibson042 committed Aug 6, 2022
    Copy the full SHA
    1c92630 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    93070fe View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2022

  1. DRY out writeTestSummary

    gibson042 committed Aug 7, 2022
    Copy the full SHA
    ef19867 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    017a45a View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    49fbe24 View commit details
    Browse the repository at this point in the history
  4. Update tests

    gibson042 committed Aug 7, 2022
    Copy the full SHA
    f1beca2 View commit details
    Browse the repository at this point in the history
  5. Set chalk options automatically from options.cjs set

    This _seems_ to work, but the resulting interaction between CommonJS and ESM
    feels a bit Zalgo-y. It may be better for modules to keep setting global
    options and chalk options in parallel while the former remains CommonJS,
    but I wanted to see what simplification would look like.
    gibson042 committed Aug 7, 2022
    Copy the full SHA
    1b64bff View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2022

  1. Copy the full SHA
    36d764c View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2022

  1. Copy the full SHA
    9b45dc3 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    fcc1f07 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2022

  1. Tweak result prefixes

    Use lowercase, since AVA doesn't output anything in all caps. Wrap in square brackets to differentiate from the test title.
    
    Remove prefix for passed tests. We assume that most tests pass most of the time.
    novemberborn committed Sep 4, 2022
    Copy the full SHA
    0c0fd21 View commit details
    Browse the repository at this point in the history
  2. Print assertion error in italics

    To better differentiate from the test title.
    novemberborn committed Sep 4, 2022
    Copy the full SHA
    ee9f000 View commit details
    Browse the repository at this point in the history
  3. Update snapshot

    novemberborn committed Sep 4, 2022
    Copy the full SHA
    2449d74 View commit details
    Browse the repository at this point in the history