To help us better assess the test cases and
better document testing, I added a "-a" flag
to run.py to print out the first line of the
test case doc strings, which should be used
as test assertions. Many need some work.

Here's the webrev:
http://cr.opensolaris.org/~jwalker/14023/

% run.py -a

This will produce test output like this:

...
-
cli.t_api_search.py
 TestApiSearchMulti.test_bug_12739:
  [None]
 TestApiSearchMulti.test_bug_2955:
  [See http://defect.opensolaris.org/bz/show_bug.cgi?id=2955]
 TestApiSearchMulti.test_bug_8318:
  [None]
-
cli.t_pkgrecv.py
 TestPkgrecvMulti.test_0_opts:
  [Verify that various basic options work as expected and that]
 TestPkgrecvMulti.test_1_recv_pkgsend:
  [Verify that a received package can be used by pkgsend.]
 TestPkgrecvMulti.test_2_recv_compare:
  [Verify that a received package is identical to the]
 TestPkgrecvMulti.test_3_recursive:
  [Verify that retrieving a package recursively will retrieve]
 TestPkgrecvMulti.test_4_timever:
  [Verify that receiving with -m options work as expected.]
 TestPkgrecvMulti.test_5_recv_env:
  [Verify that pkgrecv environment vars work as expected.]
-
cli.t_pkg_property.py
 TestPkgInfoBasics.test_bug_4372:
  [Verify that preferred-publisher cannot be changed using the]
 TestPkgInfoBasics.test_missing_permssions:
  [Bug 2393]
 TestPkgInfoBasics.test_pkg_properties:
  [pkg: set, unset, and display properties]
-
cli.t_pkg_image_update.py
 TestImageUpdate.test_01_after_pub_removal:
  [Install packages from multiple publishers, then verify that]
 TestImageUpdate.test_02_update_multi_publisher:
  [Verify that image-updates work as expected when different]
 TestImageUpdate.test_image_update_bad_opts:
  [Test image-update with bad options.]
-

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to