https://bugzilla.wikimedia.org/show_bug.cgi?id=68919

            Bug ID: 68919
           Summary: Reduce number of tests executed by GetEntitiesTest
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: wikidata-b...@lists.wikimedia.org
          Reporter: daniel.kinz...@wikimedia.de
                CC: wikidata-b...@lists.wikimedia.org
       Web browser: ---
   Mobile Platform: ---

GetEntitiesTest currently tests all possible combinations of 8 prop settings, 3
language settings, 2 sort options, and 14 items, resulting in 672 combinations.
It's however very unlikely that the sort order has an impact on filtering, etc,
so testing every possible combination seems pointless. Testing each list with
one or two combinations of the others should be sufficient.

This is particularly important since API tests are very slow. Running all these
tests takes about two minutes locally.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to