From: bugzilla@dpdk.org
To: dts@dpdk.org
Subject: [Bug 965] Create DTS test dev document
Date: Tue, 22 Mar 2022 12:45:56 +0000 [thread overview]
Message-ID: <bug-965-433@http.bugs.dpdk.org/> (raw)
https://bugs.dpdk.org/show_bug.cgi?id=965
Bug ID: 965
Summary: Create DTS test dev document
Product: DTS
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: framework
Assignee: dts@dpdk.org
Reporter: juraj.linkes@pantheon.tech
Target Milestone: ---
The audience for this document are the engineers who are writing the test
cases.
1) Document a process to start writing a test case. It can start with copying a
template from the repo. Add some simple test case examples. Output examples for
testpmd functions could be helpful.
2) Highlight the existence of configuration clean up functions that need to be
called after every test case and test suite. Python meta classes feature can be
used here to enforce the use of cleanup functions. The base class would be
replaced with a meta class. The existing test cases might need to be changed to
conform to this meta class (it might mean adding nops to several functionality
the meta class requires).
3) Make it clear that the test cases have to be based off of testpmd. If
testpmd is lacking features, they need to be added/requested.
4) Document coding and contributor guidelines.
5) Document the allowed cases for using “eval” within the code, which should be
avoided, along with reflection and type modification.
6) Document how to handle breaking changes (i.e. changes to configuration files
or json output or other interfaces intended for machine interactions [don’t
break the robots]).
7) Capture the procedure to move to latest versions of the dependencies
--
You are receiving this mail because:
You are the assignee for the bug.
reply other threads:[~2022-03-22 12:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-965-433@http.bugs.dpdk.org/ \
--to=bugzilla@dpdk.org \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).