This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6023 - Allow test cases to belong to more than one test group
Summary: Allow test cases to belong to more than one test group
Status: NEW
Alias: None
Product: Test Harness for Browser testing
Classification: Unclassified
Component: CSS Harness (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: David Berfanger
QA Contact:
URL: http://www.w3.org/2008/07/test-harnes...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-03 02:19 UTC by David Berfanger
Modified: 2015-10-05 00:56 UTC (History)
2 users (show)

See Also:


Attachments

Description David Berfanger 2008-09-03 02:19:37 UTC
Change the database schema such that individual test cases can belong more than one test group.
Comment 1 David Berfanger 2008-09-17 17:28:24 UTC
As discussed, an available groups table is being added to the database with the following fields:

group     description

For testing purposes I'm building the group descriptions by replacing the '-' characters from the group names in the flat file (testinfo.data); however, better descriptions for each of the groups are still desired.

As a check, the flat file currently appears to have 46 unique group id's.

This includes the following entries:

<link rel="help" href=""/>
<link rel="help" href="http://unicode.org/reports/tr9/#Mirroring"/>
<link rel="help" href="http://www.w3.org/TR/css3-page/#page-properties"/>
<link rel="help" href="http://www.w3.org/TR/css3-page/#page-box-page-rule"/>

These entries seem not to follow the convention for group naming, and I'm wondering if their inclusion in this format is a bug in the build script?

For now I will ignore <link rel="help" href=""/> and resolve the other three with regular expressions, producing the following groups

mirroring
page-properties
page-box-page-rule

This leaves 45 unique group id's.

Individual tests are then associated with these groups using a separate binding table.

Comment 2 David Berfanger 2008-09-17 18:11:28 UTC
Correction.

I found a bug in my script for processing the flat file (testinfo.data).

Resolving the <link> entries as previously described, I now count 84 unique groups:

Mirroring
about-shorthand
box-bidi-box-model
box-border-properties
box-box-dimensions
box-collapsing-margins
box-margin-properties
box-padding-properties
cascade-at-import
cascade-cascade
cascade-cascading-order
cascade-important-rules
cascade-inheritance
cascade-specificity
colors-background
colors-background-properties
colors-colors
colors-propdef-color
fonts-font-boldness
fonts-font-family-prop
fonts-font-shorthand
fonts-font-size-props
fonts-font-styling
fonts-small-caps
generate-counter-styles
generate-counters
generate-lists
generate-propdef-content
generate-scope
generate-undisplayed-counters
intro-the-canvas
page-box-page-rule
page-page-break-props
page-page-margins
page-properties
selector-class-html
selector-descendant-selectors
selector-dynamic-pseudo-classes
selector-first-letter
selector-first-line-pseudo
selector-grouping
selector-id-selectors
selector-pseudo-class-selectors
selector-pseudo-elements
syndata-at-rules
syndata-characters
syndata-color-units
syndata-comments
syndata-counter
syndata-keywords
syndata-length-units
syndata-parsing-errors
syndata-percentage-units
syndata-strings
syndata-uri
tables-border-conflict-resolution
tables-propdef-border-collapse
text-alignment-prop
text-caps-prop
text-indentation-prop
text-lining-striking-props
text-propdef-text-align
text-spacing-props
text-white-space-prop
visudet-block-replaced-width
visudet-block-root-margin
visudet-blockwidth
visudet-containing-block-details
visudet-inline-non-replaced
visudet-inline-replaced-height
visudet-leading
visudet-line-height
visudet-min-max-widths
visudet-normal-block
visudet-the-height-property
visudet-the-width-property
visuren-display-prop
visuren-float-position
visuren-floats
visuren-flow-control
visuren-inline-formatting
visuren-propdef-direction
visuren-propdef-unicode-bidi
visuren.html


Comment 3 David Berfanger 2008-09-19 22:09:46 UTC
The database tables can be updated whenever better group descriptions are available.

Other than that, overlapping groups are enabled on my test bed.

This bug will be marked resolved after the next code check in.