Right now this library creates a table or matrix in a report if a describe statement contains this.report = true.
This results in using a for loop inside of that describe statement to construct a single table in a report.
This is inefficient in cases where we might want to construct multiple matrixes/tables in a report from a single async resource such as a REST API.
In the above example one call on the issuer is used in 2 different tables/matrixes. In the current implementation this would require each describe statement to iterate through every implementation.
p.s. this could also be done as part of the --parallel rewrite and remove the need to mutate mocha's suite and test objects with reporter details.
Right now this library creates a table or matrix in a report if a
describe
statement containsthis.report = true
. This results in using afor
loop inside of that describe statement to construct a single table in a report. This is inefficient in cases where we might want to construct multiple matrixes/tables in a report from a singleasync
resource such as a REST API.Add the ability to do something like this:
In the above example one call on the issuer is used in 2 different tables/matrixes. In the current implementation this would require each describe statement to iterate through every implementation.
p.s. this could also be done as part of the
--parallel
rewrite and remove the need to mutate mocha's suite and test objects with reporter details.