renatoathaydes / spock-reports

This project creates a global extension to Spock to create test reports.
Apache License 2.0
273 stars 68 forks source link

Stylize data tables to distinguish between inputs and outputs #216

Open GordonJess opened 2 years ago

GordonJess commented 2 years ago

According to the docs (under 'Syntactic Variations'), a double pipe symbol can be used in a data table to visually separate the inputs from the outputs:

where:
    in1 | in2 || out
    3   | 5   || 5
    7   | 0   || 7
    0   | 0   || 0

It would be great if Spock-Reports could recognize this and somehow make it clear in the report.

renatoathaydes commented 2 years ago

Oh, that's a good idea... will check if I can get this information from Spock somehow.