checker-tema-3-sd

Crates.iochecker-tema-3-sd
lib.rschecker-tema-3-sd
version0.2.1
sourcesrc
created_at2023-05-06 10:08:59.325354
updated_at2023-05-25 14:27:13.95121
descriptionAn interactive checker built for the 3rd homework at the data-structures course
homepagehttps://github.com/RobertGrancsa/checker
repositoryhttps://github.com/RobertGrancsa/checker
max_upload_size
id858435
size125,345
Robert Grancsa (RobertGrancsa)

documentation

README

Checker

This checker is in it's first iteration. If you found any bugs and have features you would like me to add, or any QoL ideas, contact me and I'll try to implement them as soon as I can.

What's different from all the other checkers out there is that it uses a GUI instead of the old-school text based printing of results. It can run any test individually, it shows a diff of all the results and most importantly it will run more tasks at the same time.

For this checker to run at max capacity, we recommend allocating more CPU cores to your virtual machine.

alt-text

How to use the checker

Run the by using either one of these commands. You must be in the same directory as the other checker files, otherwise it won't work. For this checker to work, you will need a terminal of at least 52x24 (width x height).

$ ./check

$ checker-tema-3-sd

# If you only want to use the text only version, add the following flag to the command

$ ./check --legacy

Keybinds

To simplify the use of the checker, you can use the following keybinds:

  • enter - when on a test, to run it
  • left-arrow or right-arrow - switch from test window to log window
  • r - runs all the tests from both tasks
  • f - runs only the failed tasks that either have crashed or they got 0 points
  • v - enables or disables valgrind globally for the tests (valgrind is enabled when the Tests window is highlighted in red)
  • c - runs the coding style checker and shows a pop-up showing all the possible problems
  • ctrl+c or q - exit the program

Source code

You can find the source code here and the crates.io page here. If you would like to contribute to the project, or open any issues, you are welcomed to help.

Commit count: 42

cargo fmt