Bug 1357 - Test/test suite pattern
Summary: Test/test suite pattern
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: DTS (show other bugs)
Version: unspecified
Hardware: All All
: Low major
Target Milestone: ---
Assignee: dev
URL:
Depends on:
Blocks:
 
Reported: 2024-01-10 11:58 CET by Juraj Linkeš
Modified: 2024-02-14 14:55 CET (History)
2 users (show)



Attachments

Description Juraj Linkeš 2024-01-10 11:58:19 CET
A test defines a testing procedure without any particular values to test. A test case is a particular instance of a test with all the values defined.

A usual pattern of test case development is a test method implementing the test procedure and a number of test cases calling the procedure with different values.

If there are multiple variables with different values, the number of (possible) test cases could be very high, which would be tedious and error-prone to implement and maintain. This could be alleviated with scripts, but at that point, we could have a more centrallized solution where the definition of test cases could be just a matrix/dictionary of all the vectors of values to test.

The question is whether this is worth implementing (Are there going to be that many test cases? Do we want that many?)?

The solution needs to be cognisant of how the test cases are going to be executed and recorded and most importantly, how are they going to be recorded in case they're blocked or skipped (i.e. when not executed).

Note You need to log in before you can comment on or make changes to this bug.