Skip to content

Testcase titles and testcase descriptions #67

@Paebbels

Description

@Paebbels

In a discussion with a customer (trainee in an OSVVM class and PoC contributor), the following missing feature has been identified:

With a growing set of test cases, it's hard to describe what are the differences between test cases; especially, when a multidimensional matrix of parameters is tested.

Example:

complex_test_cfg1_cond_2_scenario_4_cornercase7.vhd
complex_test_cfg2_cond_5_scenario_2_cornercase1.vhd

Currently, test cases can only be described by their test case name. This name is quite technical and doesn't allow spaces or special characters as it's limited to the VHDL identifier naming limits.

This proposal is about adding an optional title (string) and an optional description (multi-line string) to each test case.

Source code example:

RunTest myTestcase.vhdl \
  [ generic BITS 8 ] \
  [ title {This is my special testcase} ] \
  [ description {This is
a multi-line
description text
later visible in the report.} ]

It would be beneficial to use these strings in HTML reporting.
This additional data could be easily emitted into the YAML files.

Advantages:

  • Integration of test plan items into the final report.
  • No need to use an additional external document for decoding TestIDs into descriptions in big test environments, because test names can't summarize the complexity of a test.

@JimLewis what do you think about that proposal?


/cc @gmartina

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions