1

I want to analyze the kinds of topics that appear in SQA questions. Questions are tagged, and you can determine how many questions are associated with each tag. I would like to know, for example, how many questions are in the union of selenium and selenium2, or going further, which test-automation questions are neither selenium nor selenium2. Is there a tool for that?

There aren't that many questions on SQA. I know I could write something to grab the data question-by-question from the site, but I would rather not.

1

You can search for a union of them by searching for both tags, for example [selenium] [selenium2] will match questions that have both and .

You can negate terms to remove them from the search. For example, [selenium] -[selenium2] yields all that do not have .

Most questions have neither of these, but -[selenium] -[selenium2] is considered to have "no positive criteria" for searching. The system assumes that each tag contains only a small subset of the entire site, so it would not be reasonable from a "search" perspective to allow a result set to include almost the entire site, even though you're just looking for the count.

5
  • Thank you, @corsiKa. Just to make sure I understand, does [selenium] [selenium2] match questions that have both tags or either tag? Of course, matching both tags would constitute an intersection rather than a union.
    – user246
    Mar 22 '12 at 20:20
  • Now that I think about it, I can calculate the union by querying the two separately, adding the results, and then subtracting the intersection.
    – user246
    Mar 22 '12 at 20:26
  • That matches BOTH. I don't know exactly how to match either.
    – corsiKa Mod
    Mar 23 '12 at 13:47
  • As it turns out, there is a way to match either; see meta.stackexchange.com/questions/5229/…. The search box does not support it, but the URL does. For example, sqa.stackexchange.com/questions/tagged/… matches the union of selenium and selenium2.
    – user246
    Mar 23 '12 at 15:09
  • How'd you figure that out? You'd have to think like a tester to... oh, oh I see.
    – corsiKa Mod
    Mar 23 '12 at 17:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .