JUnit unit testing, Setup a status page Github

Another entry on JUnit, first we will have to make sure that we can use pytest via the command line and setup a status page that shows the status of the build.

verify that we have pytest installed:    sudo apt install python-pytest

py

Next we will make the status page:

I used Rhino which can be downloaded in ubuntu using the command: sudo apt-get install rhino

rin

(but you can use other methods)

 

For last, someone asked me:

  1. How could you update the README page on your repository to reflect the build status using this setup?

First I was thinking to make a change in the main html to call a job that edits the README using badges that I can save as images hosted on free services like ImgBB and change them at the beginning of the README and then commit and push those changes. But you can also

Deja un comentario