dig-inclusion / DIGR

Automated test runner based on rules
Mozilla Public License 2.0
3 stars 1 forks source link

Interface #5

Open dariushuntly opened 4 years ago

dariushuntly commented 4 years ago

How should this work? command line tool? potential outputs?

should be as simple as possible and decoupled

dariushuntly commented 4 years ago

One option is JSON eg:

{
  rule: "[sha of rule/id]",
  name: "Img has an alt and it is not blank",
  resultID: "[sha of code that failed]",
  meta: {
    dig-ref: "DIG001"
  },
  result: "pass",
  confidence: 100
}
c1tt1 commented 4 years ago

A command line tool is fine since, it might be good to suggest a UI component within the OSS community, getting such input help.