-
Notifications
You must be signed in to change notification settings - Fork 5
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
Colored output for tests #4
Comments
Hi, I am new to open-source contributions. I would like to help. Can u share some details of the project. |
@manas-02, hi! It is very unexpected and nice to receive such an offer from you. We develop an OS course in the ITMO University. We have some homeworks related to kernel development, there student should add some features to the educational OS Xv6 developed in the MIT: write some syscalls, add linked lists to the kernel structures and implement COW fork with lazy allocation. We leave the Xv6 as it is, but want to improve the experience for students. One of improvements is automated testing of the OS. Currently tests exist as a binary that is run inside the OS under QEMU and it just prints messages like "test bigdir: OK" to stdout. We want to run tests in a GitHub Workflow to check that tests was passed. This will let us (teachers and assistants) to concentrate on the logic and style of changes student sent via an MR, rather than ensuring that code is working correctly. For this we are currently developing a python script for parsing OS output: #3 (review stage). It prints output in a such format (available in Actions):
This script can be used not only in GitHub, but on a students local machine. I thought that it would be nice to have fancy colored output and cool formatting. Just for fun. |
Thanks, for providing details. This was my first request to an open source project. I am sorry but I am not familiar with python. I was expecting it to be a C or C++ project. Also I am not a professional programmer I am just a student, expecting to learn something new. So, sorry I don't think I will be of any help. Apologies for taking your time. |
Currently there are just logs in default terminal color. Want it to look fancy. ANSI escape codes can be used.
The text was updated successfully, but these errors were encountered: