Giter VIP home page Giter VIP logo

Comments (5)

JuanMoroteP avatar JuanMoroteP commented on May 27, 2024

Hi,

First of all congratulations!!! It's really a great and useful tool that I'm going to use with my students.

It would be great to have the option to choose what to include in the results report. At least in the report to be send to the targets in order to inform the students about their results.

Sometimes the command that the teacher uses to check if the target is reached includes the solution to the proposed task, so the student only should take a look into the report to fullfill the proposed tasks.

So a solution could be to provide two different reports. One option by default with all the information, and a short report with only "Description", "Duration" and "Result" fields excluding "command", "alterations" and "expected" fields.

02 (1.0/1.0)
    Description : Servicio vsftpd instalado
    Command     : **apt list vsftpd**
    Duration    : 0.742 (ssh)
    Alterations : find(installed) & count
    Expected    : Greater than 0 (String)
    Result      : 1 (Integer)

Thanks
Juan

from teuton.

dvarrui avatar dvarrui commented on May 27, 2024

Thank you!

For example "export" sentence will export reports with all fields and "export verbose: false" will export reports excluding some fields (command, alterations and expected).

do you like this solution?

from teuton.

JuanMoroteP avatar JuanMoroteP commented on May 27, 2024

That sounds great!!!!
Many thanks,

from teuton.

dvarrui avatar dvarrui commented on May 27, 2024

We are thinking of these solutions:

  1. export hide: ["Command", "Duration", "Alterations", "Expected", "Result"]
  2. export show: ["Description"]
  3. export verbose: false (only description will be showed)
  4. export format: :list

Using 1, 2, 3... output reports will show hidden fields empty but with 4 option there will be another report type that only will show description field.

from teuton.

dvarrui avatar dvarrui commented on May 27, 2024

Install teuton version 2.4.0 (gem install teuton) or update (gem update teuton)

Disable feedback when exporting reports.

export format: "html", feedback: false

Feedback information only affects to "command", "alterations", "expected" and "result" field (Example: https://github.com/teuton-software/teuton/blob/master/examples/17-hide-feedback/start.rb)

from teuton.

Related Issues (20)

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.