OpenPrinting / OpenPrinting/libcups

ipptool: Provide a way to run a subset of tests

Open
#13 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement priority-medium
Dominant language
C
Stars
81
Forks
48
Avg merge
23h 58m
Merged PRs (30d)
2

Description

From @KurtPfeifle in ippsample issue 60:

After meanwhile quite a few ipp-1.1.test runs and being entangled in related debugging activities, I think the following would be beneficial for future testers:

  • Split all the individual tests making up the IPP-1.1 test suite into separate files.
  • (Re-)Create a new ipp-1.1.test suite by using INCLUDE statements for the individual files.

This way it would be more easy to run specific tests individually, especially when it comes to debugging the respective parts of the now biiiig ipp-1.1.test file.

It would also allow to make a meaningful use of ipptool's capability to test with multiple test files within one run as its usage hint suggests:

 Usage: ipptool [options] URI filename [ ... filenameN ] 

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the existing ipp-1.1.test suite and the ipptool usage hint for multiple test files. Separate the individual tests into files, then recreate ipp-1.1.test with INCLUDE statements. Done means the original suite remains runnable and specific tests can be selected individually.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.