jatcwang / jatcwang/difflicious

Too much red printing with Scalatest + sbt

Open
#23 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
108
Forks
13
Avg merge
13h 7m
Merged PRs (30d)
34

Description

Scalatest seems to color every line red which results in many white part of the diff output to be printed red instead.

More investigation into how scalatest is coloring its test output is needed.

Workaround for now: Use intellij to run your tests if possible, or switch to munit

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with Scalatest under sbt and compare the colored output with the expected diff formatting. Investigate how Scalatest colors test output and identify why white diff sections are printed red. Done means the cause is understood and the output no longer colors those sections incorrectly, with the result verified in the affected test workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.