DPDK patches and discussions
 help / color / mirror / Atom feed
* [DPDK/DTS Bug 1460] Decorate test cases
@ 2024-06-14 13:23 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2024-06-14 13:23 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 1093 bytes --]

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.Vizzarro@arm.com
                CC: juraj.linkes@pantheon.tech, probb@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.

[-- Attachment #2: Type: text/html, Size: 3017 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-14 13:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-14 13:23 [DPDK/DTS Bug 1460] Decorate test cases bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).