Skip to content

Add colored PASS / FAIL output in terminal #1

Description

@jayDevCodes

Feature Request

Currently CPJudge prints test results in plain text. It would be helpful to add colored output for better readability.

Proposed Behavior

  • PASSED tests should appear in green
  • FAILED tests should appear in red

Example:

Test 1 PASSED
Test 2 FAILED

Possible Implementation

Use ANSI escape codes for terminal colors in C++.

Example:

  • Green → \033[32m
  • Red → \033[31m
  • Reset → \033[0m

Benefit

This will make test results easier to read and improve the CLI user experience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is neededquestionFurther information is requested

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions