#202: testcases for depcheck --------------------+------------------------------------------------------- Reporter: wwoods | Owner: Type: task | Status: new Priority: major | Milestone: Package Update Acceptance Test Plan - depcheck Component: tests | Version: 1.0 Keywords: | --------------------+------------------------------------------------------- To be sure that depcheck is operating as expected, we should have a library of test cases for it.
These test cases could take the form of a set (or sets) of trivial RPMs that illustrate various possible dependency problems - or a script that generates RPMs like that.
#202: testcases for depcheck ---------------------+------------------------------------------------------ Reporter: wwoods | Owner: Type: task | Status: new Priority: major | Milestone: Package Update Acceptance Test Plan - depcheck Component: tests | Version: 1.0 Resolution: | Keywords: ---------------------+------------------------------------------------------ Comment (by kparal):
Just a hint - rpmfluff could be really useful here: https://fedorahosted.org/rpmfluff/
#202: testcases for depcheck ---------------------+------------------------------------------------------ Reporter: wwoods | Owner: vaschenb Type: task | Status: assigned Priority: major | Milestone: Package Update Acceptance Test Plan - depcheck Component: tests | Version: 1.0 Resolution: | Keywords: ---------------------+------------------------------------------------------ Changes (by vaschenb):
* owner: => vaschenb * status: new => assigned
#202: testcases for depcheck ---------------------+------------------------------------------------------ Reporter: wwoods | Owner: vaschenb Type: task | Status: assigned Priority: major | Milestone: Package Update Acceptance Test Plan - depcheck Component: tests | Version: 1.0 Resolution: | Keywords: ---------------------+------------------------------------------------------ Comment (by vaschenb):
What packages (which dependencies) should this script create? Is there any exact vision?
#202: testcases for depcheck ---------------------+------------------------------------------------------ Reporter: wwoods | Owner: vaschenb Type: task | Status: assigned Priority: major | Milestone: Package Update Acceptance Test Plan - depcheck Component: tests | Version: 1.0 Resolution: | Keywords: ---------------------+------------------------------------------------------ Comment (by wwoods):
the current `depcheck` script (in the depcheck branch) contains 8 example testcases. Once ticket #201 (mash support) is complete we'll definitely want to add some unittests to be sure we properly catch multilib problems.
#202: testcases for depcheck ---------------------+------------------------------------------------------ Reporter: wwoods | Owner: kparal Type: task | Status: new Priority: major | Milestone: Package Update Acceptance Test Plan - depcheck Component: tests | Version: 1.0 Resolution: | Keywords: ---------------------+------------------------------------------------------ Changes (by kparal):
* owner: vaschenb => kparal * status: assigned => new
#202: testcases for depcheck ---------------------+------------------------------------------------------ Reporter: wwoods | Owner: kparal Type: task | Status: closed Priority: major | Milestone: Package Update Acceptance Test Plan - depcheck Component: tests | Version: 1.0 Resolution: fixed | Keywords: ---------------------+------------------------------------------------------ Changes (by wwoods):
* status: new => closed * resolution: => fixed
Comment:
depcheck now contains 14 unittests comprising over 300 lines of code - more than half the contents of the file! I think we can consider this closed.
autoqa-devel@lists.fedorahosted.org