Coder Social home page Coder Social logo

GitHub Step Summary about compliance-tests HOT 2 CLOSED

umarcor avatar umarcor commented on July 18, 2024
GitHub Step Summary

from compliance-tests.

Comments (2)

LarsAsplund avatar LarsAsplund commented on July 18, 2024

I was thinking about a JSON+XUnit export and have a VUnit attribute on tests referencing relevant LRM section. The output would be a table with test case name + pass/fail + LRM link. Now that we have two simulators that we can use online we should have a column for each. Just like in that SystemVerilog example. We should also generate a HTML report for those running offline with their own simulator. Pandoc on the Markdown maybe. My current client uses GitHub and there I use this technique to create a test to spec mapping which the CI pushes to the GitHub Wiki. I didn't know about this summary feature so let's give it a try. Will you? I better focus on the VUnit support for NVC.

from compliance-tests.

umarcor avatar umarcor commented on July 18, 2024

We are talking about different use cases. The GitHub Step Summary is useful for someone watching a CI run through the web. So clicking on any of the runs listed in https://github.com/VHDL/Compliance-Tests/actions.

Generating JSON, XUnit or HTML cannot be done there. That needs an additional step, which might be a) downloading an artifact and/or b) pushing it somewhere (gh-pages, wiki, anywhere else).

In ghdl/extended-tests, we use pytest pytest-reporter pytest-reporter-html1 and we upload the HTML report to gh-pages (see ghdl.github.io/extended-tests).
Moreover, in GHDL we pregenerate the content of a subdir and then include it in the doc: https://github.com/ghdl/ghdl/blob/master/doc/conf.py#L114-L115. Hence, we might convert VUnit's XUnit output to HTML and include it in the documentation.

from compliance-tests.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.