https://bugs.dpdk.org/show_bug.cgi?id=1460

            Bug ID: 1460
           Summary: Decorate test cases
           Product: DPDK
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: DTS
          Assignee: dev@dpdk.org
          Reporter: luca.vizza...@arm.com
                CC: juraj.lin...@pantheon.tech, pr...@iol.unh.edu
  Target Milestone: ---

Assigning attributes to test cases, which are functions, is easier done if the
test cases were to be decorated with e.g. @test. By doing so, the test cases
could also be represented by a metaclass to Mypy, enabling static type checking
and hinting on function attributes. Moreover this metaclass could implement
Protocols define some attributes that could be shares across several classes.

Attributes are also a way to configure the test case environment more easily,
reducing the boilerplate code.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to