[DPDK/DTS Bug 1460] Decorate test cases
bugzilla at dpdk.org
bugzilla at dpdk.org
Fri Jun 14 15:23:58 CEST 2024
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 at dpdk.org
Reporter: Luca.Vizzarro at arm.com
CC: juraj.linkes at pantheon.tech, probb at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20240614/d65f9d94/attachment.htm>
More information about the dev
mailing list