1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415
|
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# Generated file, DO NOT EDIT
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------------------------
from msrest.serialization import Model
class AggregatedDataForResultTrend(Model):
"""AggregatedDataForResultTrend.
:param duration: This is tests execution duration.
:type duration: object
:param results_by_outcome:
:type results_by_outcome: dict
:param run_summary_by_state:
:type run_summary_by_state: dict
:param test_results_context:
:type test_results_context: :class:`TestResultsContext <azure.devops.v5_0.test.models.TestResultsContext>`
:param total_tests:
:type total_tests: int
"""
_attribute_map = {
'duration': {'key': 'duration', 'type': 'object'},
'results_by_outcome': {'key': 'resultsByOutcome', 'type': '{AggregatedResultsByOutcome}'},
'run_summary_by_state': {'key': 'runSummaryByState', 'type': '{AggregatedRunsByState}'},
'test_results_context': {'key': 'testResultsContext', 'type': 'TestResultsContext'},
'total_tests': {'key': 'totalTests', 'type': 'int'}
}
def __init__(self, duration=None, results_by_outcome=None, run_summary_by_state=None, test_results_context=None, total_tests=None):
super(AggregatedDataForResultTrend, self).__init__()
self.duration = duration
self.results_by_outcome = results_by_outcome
self.run_summary_by_state = run_summary_by_state
self.test_results_context = test_results_context
self.total_tests = total_tests
class AggregatedResultsAnalysis(Model):
"""AggregatedResultsAnalysis.
:param duration:
:type duration: object
:param not_reported_results_by_outcome:
:type not_reported_results_by_outcome: dict
:param previous_context:
:type previous_context: :class:`TestResultsContext <azure.devops.v5_0.test.models.TestResultsContext>`
:param results_by_outcome:
:type results_by_outcome: dict
:param results_difference:
:type results_difference: :class:`AggregatedResultsDifference <azure.devops.v5_0.test.models.AggregatedResultsDifference>`
:param run_summary_by_outcome:
:type run_summary_by_outcome: dict
:param run_summary_by_state:
:type run_summary_by_state: dict
:param total_tests:
:type total_tests: int
"""
_attribute_map = {
'duration': {'key': 'duration', 'type': 'object'},
'not_reported_results_by_outcome': {'key': 'notReportedResultsByOutcome', 'type': '{AggregatedResultsByOutcome}'},
'previous_context': {'key': 'previousContext', 'type': 'TestResultsContext'},
'results_by_outcome': {'key': 'resultsByOutcome', 'type': '{AggregatedResultsByOutcome}'},
'results_difference': {'key': 'resultsDifference', 'type': 'AggregatedResultsDifference'},
'run_summary_by_outcome': {'key': 'runSummaryByOutcome', 'type': '{AggregatedRunsByOutcome}'},
'run_summary_by_state': {'key': 'runSummaryByState', 'type': '{AggregatedRunsByState}'},
'total_tests': {'key': 'totalTests', 'type': 'int'}
}
def __init__(self, duration=None, not_reported_results_by_outcome=None, previous_context=None, results_by_outcome=None, results_difference=None, run_summary_by_outcome=None, run_summary_by_state=None, total_tests=None):
super(AggregatedResultsAnalysis, self).__init__()
self.duration = duration
self.not_reported_results_by_outcome = not_reported_results_by_outcome
self.previous_context = previous_context
self.results_by_outcome = results_by_outcome
self.results_difference = results_difference
self.run_summary_by_outcome = run_summary_by_outcome
self.run_summary_by_state = run_summary_by_state
self.total_tests = total_tests
class AggregatedResultsByOutcome(Model):
"""AggregatedResultsByOutcome.
:param count:
:type count: int
:param duration:
:type duration: object
:param group_by_field:
:type group_by_field: str
:param group_by_value:
:type group_by_value: object
:param outcome:
:type outcome: object
:param rerun_result_count:
:type rerun_result_count: int
"""
_attribute_map = {
'count': {'key': 'count', 'type': 'int'},
'duration': {'key': 'duration', 'type': 'object'},
'group_by_field': {'key': 'groupByField', 'type': 'str'},
'group_by_value': {'key': 'groupByValue', 'type': 'object'},
'outcome': {'key': 'outcome', 'type': 'object'},
'rerun_result_count': {'key': 'rerunResultCount', 'type': 'int'}
}
def __init__(self, count=None, duration=None, group_by_field=None, group_by_value=None, outcome=None, rerun_result_count=None):
super(AggregatedResultsByOutcome, self).__init__()
self.count = count
self.duration = duration
self.group_by_field = group_by_field
self.group_by_value = group_by_value
self.outcome = outcome
self.rerun_result_count = rerun_result_count
class AggregatedResultsDifference(Model):
"""AggregatedResultsDifference.
:param increase_in_duration:
:type increase_in_duration: object
:param increase_in_failures:
:type increase_in_failures: int
:param increase_in_other_tests:
:type increase_in_other_tests: int
:param increase_in_passed_tests:
:type increase_in_passed_tests: int
:param increase_in_total_tests:
:type increase_in_total_tests: int
"""
_attribute_map = {
'increase_in_duration': {'key': 'increaseInDuration', 'type': 'object'},
'increase_in_failures': {'key': 'increaseInFailures', 'type': 'int'},
'increase_in_other_tests': {'key': 'increaseInOtherTests', 'type': 'int'},
'increase_in_passed_tests': {'key': 'increaseInPassedTests', 'type': 'int'},
'increase_in_total_tests': {'key': 'increaseInTotalTests', 'type': 'int'}
}
def __init__(self, increase_in_duration=None, increase_in_failures=None, increase_in_other_tests=None, increase_in_passed_tests=None, increase_in_total_tests=None):
super(AggregatedResultsDifference, self).__init__()
self.increase_in_duration = increase_in_duration
self.increase_in_failures = increase_in_failures
self.increase_in_other_tests = increase_in_other_tests
self.increase_in_passed_tests = increase_in_passed_tests
self.increase_in_total_tests = increase_in_total_tests
class AggregatedRunsByOutcome(Model):
"""AggregatedRunsByOutcome.
:param outcome:
:type outcome: object
:param runs_count:
:type runs_count: int
"""
_attribute_map = {
'outcome': {'key': 'outcome', 'type': 'object'},
'runs_count': {'key': 'runsCount', 'type': 'int'}
}
def __init__(self, outcome=None, runs_count=None):
super(AggregatedRunsByOutcome, self).__init__()
self.outcome = outcome
self.runs_count = runs_count
class AggregatedRunsByState(Model):
"""AggregatedRunsByState.
:param results_by_outcome:
:type results_by_outcome: dict
:param runs_count:
:type runs_count: int
:param state:
:type state: object
"""
_attribute_map = {
'results_by_outcome': {'key': 'resultsByOutcome', 'type': '{AggregatedResultsByOutcome}'},
'runs_count': {'key': 'runsCount', 'type': 'int'},
'state': {'key': 'state', 'type': 'object'}
}
def __init__(self, results_by_outcome=None, runs_count=None, state=None):
super(AggregatedRunsByState, self).__init__()
self.results_by_outcome = results_by_outcome
self.runs_count = runs_count
self.state = state
class BuildConfiguration(Model):
"""BuildConfiguration.
:param branch_name:
:type branch_name: str
:param build_definition_id:
:type build_definition_id: int
:param build_system:
:type build_system: str
:param creation_date:
:type creation_date: datetime
:param flavor:
:type flavor: str
:param id:
:type id: int
:param number:
:type number: str
:param platform:
:type platform: str
:param project:
:type project: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param repository_guid:
:type repository_guid: str
:param repository_id:
:type repository_id: int
:param repository_type:
:type repository_type: str
:param source_version:
:type source_version: str
:param uri:
:type uri: str
"""
_attribute_map = {
'branch_name': {'key': 'branchName', 'type': 'str'},
'build_definition_id': {'key': 'buildDefinitionId', 'type': 'int'},
'build_system': {'key': 'buildSystem', 'type': 'str'},
'creation_date': {'key': 'creationDate', 'type': 'iso-8601'},
'flavor': {'key': 'flavor', 'type': 'str'},
'id': {'key': 'id', 'type': 'int'},
'number': {'key': 'number', 'type': 'str'},
'platform': {'key': 'platform', 'type': 'str'},
'project': {'key': 'project', 'type': 'ShallowReference'},
'repository_guid': {'key': 'repositoryGuid', 'type': 'str'},
'repository_id': {'key': 'repositoryId', 'type': 'int'},
'repository_type': {'key': 'repositoryType', 'type': 'str'},
'source_version': {'key': 'sourceVersion', 'type': 'str'},
'uri': {'key': 'uri', 'type': 'str'}
}
def __init__(self, branch_name=None, build_definition_id=None, build_system=None, creation_date=None, flavor=None, id=None, number=None, platform=None, project=None, repository_guid=None, repository_id=None, repository_type=None, source_version=None, uri=None):
super(BuildConfiguration, self).__init__()
self.branch_name = branch_name
self.build_definition_id = build_definition_id
self.build_system = build_system
self.creation_date = creation_date
self.flavor = flavor
self.id = id
self.number = number
self.platform = platform
self.project = project
self.repository_guid = repository_guid
self.repository_id = repository_id
self.repository_type = repository_type
self.source_version = source_version
self.uri = uri
class BuildCoverage(Model):
"""BuildCoverage.
:param code_coverage_file_url: Code Coverage File Url
:type code_coverage_file_url: str
:param configuration: Build Configuration
:type configuration: :class:`BuildConfiguration <azure.devops.v5_0.test.models.BuildConfiguration>`
:param last_error: Last Error
:type last_error: str
:param modules: List of Modules
:type modules: list of :class:`ModuleCoverage <azure.devops.v5_0.test.models.ModuleCoverage>`
:param state: State
:type state: str
"""
_attribute_map = {
'code_coverage_file_url': {'key': 'codeCoverageFileUrl', 'type': 'str'},
'configuration': {'key': 'configuration', 'type': 'BuildConfiguration'},
'last_error': {'key': 'lastError', 'type': 'str'},
'modules': {'key': 'modules', 'type': '[ModuleCoverage]'},
'state': {'key': 'state', 'type': 'str'}
}
def __init__(self, code_coverage_file_url=None, configuration=None, last_error=None, modules=None, state=None):
super(BuildCoverage, self).__init__()
self.code_coverage_file_url = code_coverage_file_url
self.configuration = configuration
self.last_error = last_error
self.modules = modules
self.state = state
class BuildReference(Model):
"""BuildReference.
:param branch_name: Branch name.
:type branch_name: str
:param build_system: Build system.
:type build_system: str
:param definition_id: Build Definition ID.
:type definition_id: int
:param id: Build ID.
:type id: int
:param number: Build Number.
:type number: str
:param repository_id: Repository ID.
:type repository_id: str
:param uri: Build URI.
:type uri: str
"""
_attribute_map = {
'branch_name': {'key': 'branchName', 'type': 'str'},
'build_system': {'key': 'buildSystem', 'type': 'str'},
'definition_id': {'key': 'definitionId', 'type': 'int'},
'id': {'key': 'id', 'type': 'int'},
'number': {'key': 'number', 'type': 'str'},
'repository_id': {'key': 'repositoryId', 'type': 'str'},
'uri': {'key': 'uri', 'type': 'str'}
}
def __init__(self, branch_name=None, build_system=None, definition_id=None, id=None, number=None, repository_id=None, uri=None):
super(BuildReference, self).__init__()
self.branch_name = branch_name
self.build_system = build_system
self.definition_id = definition_id
self.id = id
self.number = number
self.repository_id = repository_id
self.uri = uri
class CloneOperationInformation(Model):
"""CloneOperationInformation.
:param clone_statistics: Clone Statistics
:type clone_statistics: :class:`CloneStatistics <azure.devops.v5_0.test.models.CloneStatistics>`
:param completion_date: If the operation is complete, the DateTime of completion. If operation is not complete, this is DateTime.MaxValue
:type completion_date: datetime
:param creation_date: DateTime when the operation was started
:type creation_date: datetime
:param destination_object: Shallow reference of the destination
:type destination_object: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param destination_plan: Shallow reference of the destination
:type destination_plan: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param destination_project: Shallow reference of the destination
:type destination_project: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param message: If the operation has Failed, Message contains the reason for failure. Null otherwise.
:type message: str
:param op_id: The ID of the operation
:type op_id: int
:param result_object_type: The type of the object generated as a result of the Clone operation
:type result_object_type: object
:param source_object: Shallow reference of the source
:type source_object: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param source_plan: Shallow reference of the source
:type source_plan: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param source_project: Shallow reference of the source
:type source_project: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param state: Current state of the operation. When State reaches Suceeded or Failed, the operation is complete
:type state: object
:param url: Url for geting the clone information
:type url: str
"""
_attribute_map = {
'clone_statistics': {'key': 'cloneStatistics', 'type': 'CloneStatistics'},
'completion_date': {'key': 'completionDate', 'type': 'iso-8601'},
'creation_date': {'key': 'creationDate', 'type': 'iso-8601'},
'destination_object': {'key': 'destinationObject', 'type': 'ShallowReference'},
'destination_plan': {'key': 'destinationPlan', 'type': 'ShallowReference'},
'destination_project': {'key': 'destinationProject', 'type': 'ShallowReference'},
'message': {'key': 'message', 'type': 'str'},
'op_id': {'key': 'opId', 'type': 'int'},
'result_object_type': {'key': 'resultObjectType', 'type': 'object'},
'source_object': {'key': 'sourceObject', 'type': 'ShallowReference'},
'source_plan': {'key': 'sourcePlan', 'type': 'ShallowReference'},
'source_project': {'key': 'sourceProject', 'type': 'ShallowReference'},
'state': {'key': 'state', 'type': 'object'},
'url': {'key': 'url', 'type': 'str'}
}
def __init__(self, clone_statistics=None, completion_date=None, creation_date=None, destination_object=None, destination_plan=None, destination_project=None, message=None, op_id=None, result_object_type=None, source_object=None, source_plan=None, source_project=None, state=None, url=None):
super(CloneOperationInformation, self).__init__()
self.clone_statistics = clone_statistics
self.completion_date = completion_date
self.creation_date = creation_date
self.destination_object = destination_object
self.destination_plan = destination_plan
self.destination_project = destination_project
self.message = message
self.op_id = op_id
self.result_object_type = result_object_type
self.source_object = source_object
self.source_plan = source_plan
self.source_project = source_project
self.state = state
self.url = url
class CloneOptions(Model):
"""CloneOptions.
:param clone_requirements: If set to true requirements will be cloned
:type clone_requirements: bool
:param copy_all_suites: copy all suites from a source plan
:type copy_all_suites: bool
:param copy_ancestor_hierarchy: copy ancestor hieracrchy
:type copy_ancestor_hierarchy: bool
:param destination_work_item_type: Name of the workitem type of the clone
:type destination_work_item_type: str
:param override_parameters: Key value pairs where the key value is overridden by the value.
:type override_parameters: dict
:param related_link_comment: Comment on the link that will link the new clone test case to the original Set null for no comment
:type related_link_comment: str
"""
_attribute_map = {
'clone_requirements': {'key': 'cloneRequirements', 'type': 'bool'},
'copy_all_suites': {'key': 'copyAllSuites', 'type': 'bool'},
'copy_ancestor_hierarchy': {'key': 'copyAncestorHierarchy', 'type': 'bool'},
'destination_work_item_type': {'key': 'destinationWorkItemType', 'type': 'str'},
'override_parameters': {'key': 'overrideParameters', 'type': '{str}'},
'related_link_comment': {'key': 'relatedLinkComment', 'type': 'str'}
}
def __init__(self, clone_requirements=None, copy_all_suites=None, copy_ancestor_hierarchy=None, destination_work_item_type=None, override_parameters=None, related_link_comment=None):
super(CloneOptions, self).__init__()
self.clone_requirements = clone_requirements
self.copy_all_suites = copy_all_suites
self.copy_ancestor_hierarchy = copy_ancestor_hierarchy
self.destination_work_item_type = destination_work_item_type
self.override_parameters = override_parameters
self.related_link_comment = related_link_comment
class CloneStatistics(Model):
"""CloneStatistics.
:param cloned_requirements_count: Number of Requirments cloned so far.
:type cloned_requirements_count: int
:param cloned_shared_steps_count: Number of shared steps cloned so far.
:type cloned_shared_steps_count: int
:param cloned_test_cases_count: Number of test cases cloned so far
:type cloned_test_cases_count: int
:param total_requirements_count: Total number of requirements to be cloned
:type total_requirements_count: int
:param total_test_cases_count: Total number of test cases to be cloned
:type total_test_cases_count: int
"""
_attribute_map = {
'cloned_requirements_count': {'key': 'clonedRequirementsCount', 'type': 'int'},
'cloned_shared_steps_count': {'key': 'clonedSharedStepsCount', 'type': 'int'},
'cloned_test_cases_count': {'key': 'clonedTestCasesCount', 'type': 'int'},
'total_requirements_count': {'key': 'totalRequirementsCount', 'type': 'int'},
'total_test_cases_count': {'key': 'totalTestCasesCount', 'type': 'int'}
}
def __init__(self, cloned_requirements_count=None, cloned_shared_steps_count=None, cloned_test_cases_count=None, total_requirements_count=None, total_test_cases_count=None):
super(CloneStatistics, self).__init__()
self.cloned_requirements_count = cloned_requirements_count
self.cloned_shared_steps_count = cloned_shared_steps_count
self.cloned_test_cases_count = cloned_test_cases_count
self.total_requirements_count = total_requirements_count
self.total_test_cases_count = total_test_cases_count
class CodeCoverageData(Model):
"""CodeCoverageData.
:param build_flavor: Flavor of build for which data is retrieved/published
:type build_flavor: str
:param build_platform: Platform of build for which data is retrieved/published
:type build_platform: str
:param coverage_stats: List of coverage data for the build
:type coverage_stats: list of :class:`CodeCoverageStatistics <azure.devops.v5_0.test.models.CodeCoverageStatistics>`
"""
_attribute_map = {
'build_flavor': {'key': 'buildFlavor', 'type': 'str'},
'build_platform': {'key': 'buildPlatform', 'type': 'str'},
'coverage_stats': {'key': 'coverageStats', 'type': '[CodeCoverageStatistics]'}
}
def __init__(self, build_flavor=None, build_platform=None, coverage_stats=None):
super(CodeCoverageData, self).__init__()
self.build_flavor = build_flavor
self.build_platform = build_platform
self.coverage_stats = coverage_stats
class CodeCoverageStatistics(Model):
"""CodeCoverageStatistics.
:param covered: Covered units
:type covered: int
:param delta: Delta of coverage
:type delta: float
:param is_delta_available: Is delta valid
:type is_delta_available: bool
:param label: Label of coverage data ("Blocks", "Statements", "Modules", etc.)
:type label: str
:param position: Position of label
:type position: int
:param total: Total units
:type total: int
"""
_attribute_map = {
'covered': {'key': 'covered', 'type': 'int'},
'delta': {'key': 'delta', 'type': 'float'},
'is_delta_available': {'key': 'isDeltaAvailable', 'type': 'bool'},
'label': {'key': 'label', 'type': 'str'},
'position': {'key': 'position', 'type': 'int'},
'total': {'key': 'total', 'type': 'int'}
}
def __init__(self, covered=None, delta=None, is_delta_available=None, label=None, position=None, total=None):
super(CodeCoverageStatistics, self).__init__()
self.covered = covered
self.delta = delta
self.is_delta_available = is_delta_available
self.label = label
self.position = position
self.total = total
class CodeCoverageSummary(Model):
"""CodeCoverageSummary.
:param build: Uri of build for which data is retrieved/published
:type build: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param coverage_data: List of coverage data and details for the build
:type coverage_data: list of :class:`CodeCoverageData <azure.devops.v5_0.test.models.CodeCoverageData>`
:param delta_build: Uri of build against which difference in coverage is computed
:type delta_build: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
"""
_attribute_map = {
'build': {'key': 'build', 'type': 'ShallowReference'},
'coverage_data': {'key': 'coverageData', 'type': '[CodeCoverageData]'},
'delta_build': {'key': 'deltaBuild', 'type': 'ShallowReference'}
}
def __init__(self, build=None, coverage_data=None, delta_build=None):
super(CodeCoverageSummary, self).__init__()
self.build = build
self.coverage_data = coverage_data
self.delta_build = delta_build
class CoverageStatistics(Model):
"""CoverageStatistics.
:param blocks_covered:
:type blocks_covered: int
:param blocks_not_covered:
:type blocks_not_covered: int
:param lines_covered:
:type lines_covered: int
:param lines_not_covered:
:type lines_not_covered: int
:param lines_partially_covered:
:type lines_partially_covered: int
"""
_attribute_map = {
'blocks_covered': {'key': 'blocksCovered', 'type': 'int'},
'blocks_not_covered': {'key': 'blocksNotCovered', 'type': 'int'},
'lines_covered': {'key': 'linesCovered', 'type': 'int'},
'lines_not_covered': {'key': 'linesNotCovered', 'type': 'int'},
'lines_partially_covered': {'key': 'linesPartiallyCovered', 'type': 'int'}
}
def __init__(self, blocks_covered=None, blocks_not_covered=None, lines_covered=None, lines_not_covered=None, lines_partially_covered=None):
super(CoverageStatistics, self).__init__()
self.blocks_covered = blocks_covered
self.blocks_not_covered = blocks_not_covered
self.lines_covered = lines_covered
self.lines_not_covered = lines_not_covered
self.lines_partially_covered = lines_partially_covered
class CustomTestField(Model):
"""CustomTestField.
:param field_name: Field Name.
:type field_name: str
:param value: Field value.
:type value: object
"""
_attribute_map = {
'field_name': {'key': 'fieldName', 'type': 'str'},
'value': {'key': 'value', 'type': 'object'}
}
def __init__(self, field_name=None, value=None):
super(CustomTestField, self).__init__()
self.field_name = field_name
self.value = value
class CustomTestFieldDefinition(Model):
"""CustomTestFieldDefinition.
:param field_id:
:type field_id: int
:param field_name:
:type field_name: str
:param field_type:
:type field_type: object
:param scope:
:type scope: object
"""
_attribute_map = {
'field_id': {'key': 'fieldId', 'type': 'int'},
'field_name': {'key': 'fieldName', 'type': 'str'},
'field_type': {'key': 'fieldType', 'type': 'object'},
'scope': {'key': 'scope', 'type': 'object'}
}
def __init__(self, field_id=None, field_name=None, field_type=None, scope=None):
super(CustomTestFieldDefinition, self).__init__()
self.field_id = field_id
self.field_name = field_name
self.field_type = field_type
self.scope = scope
class DtlEnvironmentDetails(Model):
"""DtlEnvironmentDetails.
:param csm_content:
:type csm_content: str
:param csm_parameters:
:type csm_parameters: str
:param subscription_name:
:type subscription_name: str
"""
_attribute_map = {
'csm_content': {'key': 'csmContent', 'type': 'str'},
'csm_parameters': {'key': 'csmParameters', 'type': 'str'},
'subscription_name': {'key': 'subscriptionName', 'type': 'str'}
}
def __init__(self, csm_content=None, csm_parameters=None, subscription_name=None):
super(DtlEnvironmentDetails, self).__init__()
self.csm_content = csm_content
self.csm_parameters = csm_parameters
self.subscription_name = subscription_name
class FailingSince(Model):
"""FailingSince.
:param build: Build reference since failing.
:type build: :class:`BuildReference <azure.devops.v5_0.test.models.BuildReference>`
:param date: Time since failing.
:type date: datetime
:param release: Release reference since failing.
:type release: :class:`ReleaseReference <azure.devops.v5_0.test.models.ReleaseReference>`
"""
_attribute_map = {
'build': {'key': 'build', 'type': 'BuildReference'},
'date': {'key': 'date', 'type': 'iso-8601'},
'release': {'key': 'release', 'type': 'ReleaseReference'}
}
def __init__(self, build=None, date=None, release=None):
super(FailingSince, self).__init__()
self.build = build
self.date = date
self.release = release
class FieldDetailsForTestResults(Model):
"""FieldDetailsForTestResults.
:param field_name: Group by field name
:type field_name: str
:param groups_for_field: Group by field values
:type groups_for_field: list of object
"""
_attribute_map = {
'field_name': {'key': 'fieldName', 'type': 'str'},
'groups_for_field': {'key': 'groupsForField', 'type': '[object]'}
}
def __init__(self, field_name=None, groups_for_field=None):
super(FieldDetailsForTestResults, self).__init__()
self.field_name = field_name
self.groups_for_field = groups_for_field
class FunctionCoverage(Model):
"""FunctionCoverage.
:param class_:
:type class_: str
:param name:
:type name: str
:param namespace:
:type namespace: str
:param source_file:
:type source_file: str
:param statistics:
:type statistics: :class:`CoverageStatistics <azure.devops.v5_0.test.models.CoverageStatistics>`
"""
_attribute_map = {
'class_': {'key': 'class', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'namespace': {'key': 'namespace', 'type': 'str'},
'source_file': {'key': 'sourceFile', 'type': 'str'},
'statistics': {'key': 'statistics', 'type': 'CoverageStatistics'}
}
def __init__(self, class_=None, name=None, namespace=None, source_file=None, statistics=None):
super(FunctionCoverage, self).__init__()
self.class_ = class_
self.name = name
self.namespace = namespace
self.source_file = source_file
self.statistics = statistics
class GraphSubjectBase(Model):
"""GraphSubjectBase.
:param _links: This field contains zero or more interesting links about the graph subject. These links may be invoked to obtain additional relationships or more detailed information about this graph subject.
:type _links: :class:`ReferenceLinks <azure.devops.v5_0.microsoft._visual_studio._services._web_api.models.ReferenceLinks>`
:param descriptor: The descriptor is the primary way to reference the graph subject while the system is running. This field will uniquely identify the same graph subject across both Accounts and Organizations.
:type descriptor: str
:param display_name: This is the non-unique display name of the graph subject. To change this field, you must alter its value in the source provider.
:type display_name: str
:param url: This url is the full route to the source resource of this graph subject.
:type url: str
"""
_attribute_map = {
'_links': {'key': '_links', 'type': 'ReferenceLinks'},
'descriptor': {'key': 'descriptor', 'type': 'str'},
'display_name': {'key': 'displayName', 'type': 'str'},
'url': {'key': 'url', 'type': 'str'}
}
def __init__(self, _links=None, descriptor=None, display_name=None, url=None):
super(GraphSubjectBase, self).__init__()
self._links = _links
self.descriptor = descriptor
self.display_name = display_name
self.url = url
class IdentityRef(GraphSubjectBase):
"""IdentityRef.
:param _links: This field contains zero or more interesting links about the graph subject. These links may be invoked to obtain additional relationships or more detailed information about this graph subject.
:type _links: :class:`ReferenceLinks <azure.devops.v5_0.microsoft._visual_studio._services._web_api.models.ReferenceLinks>`
:param descriptor: The descriptor is the primary way to reference the graph subject while the system is running. This field will uniquely identify the same graph subject across both Accounts and Organizations.
:type descriptor: str
:param display_name: This is the non-unique display name of the graph subject. To change this field, you must alter its value in the source provider.
:type display_name: str
:param url: This url is the full route to the source resource of this graph subject.
:type url: str
:param directory_alias:
:type directory_alias: str
:param id:
:type id: str
:param image_url:
:type image_url: str
:param inactive:
:type inactive: bool
:param is_aad_identity:
:type is_aad_identity: bool
:param is_container:
:type is_container: bool
:param is_deleted_in_origin:
:type is_deleted_in_origin: bool
:param profile_url:
:type profile_url: str
:param unique_name:
:type unique_name: str
"""
_attribute_map = {
'_links': {'key': '_links', 'type': 'ReferenceLinks'},
'descriptor': {'key': 'descriptor', 'type': 'str'},
'display_name': {'key': 'displayName', 'type': 'str'},
'url': {'key': 'url', 'type': 'str'},
'directory_alias': {'key': 'directoryAlias', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'image_url': {'key': 'imageUrl', 'type': 'str'},
'inactive': {'key': 'inactive', 'type': 'bool'},
'is_aad_identity': {'key': 'isAadIdentity', 'type': 'bool'},
'is_container': {'key': 'isContainer', 'type': 'bool'},
'is_deleted_in_origin': {'key': 'isDeletedInOrigin', 'type': 'bool'},
'profile_url': {'key': 'profileUrl', 'type': 'str'},
'unique_name': {'key': 'uniqueName', 'type': 'str'}
}
def __init__(self, _links=None, descriptor=None, display_name=None, url=None, directory_alias=None, id=None, image_url=None, inactive=None, is_aad_identity=None, is_container=None, is_deleted_in_origin=None, profile_url=None, unique_name=None):
super(IdentityRef, self).__init__(_links=_links, descriptor=descriptor, display_name=display_name, url=url)
self.directory_alias = directory_alias
self.id = id
self.image_url = image_url
self.inactive = inactive
self.is_aad_identity = is_aad_identity
self.is_container = is_container
self.is_deleted_in_origin = is_deleted_in_origin
self.profile_url = profile_url
self.unique_name = unique_name
class LastResultDetails(Model):
"""LastResultDetails.
:param date_completed:
:type date_completed: datetime
:param duration:
:type duration: long
:param run_by:
:type run_by: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
"""
_attribute_map = {
'date_completed': {'key': 'dateCompleted', 'type': 'iso-8601'},
'duration': {'key': 'duration', 'type': 'long'},
'run_by': {'key': 'runBy', 'type': 'IdentityRef'}
}
def __init__(self, date_completed=None, duration=None, run_by=None):
super(LastResultDetails, self).__init__()
self.date_completed = date_completed
self.duration = duration
self.run_by = run_by
class LinkedWorkItemsQuery(Model):
"""LinkedWorkItemsQuery.
:param automated_test_names:
:type automated_test_names: list of str
:param plan_id:
:type plan_id: int
:param point_ids:
:type point_ids: list of int
:param suite_ids:
:type suite_ids: list of int
:param test_case_ids:
:type test_case_ids: list of int
:param work_item_category:
:type work_item_category: str
"""
_attribute_map = {
'automated_test_names': {'key': 'automatedTestNames', 'type': '[str]'},
'plan_id': {'key': 'planId', 'type': 'int'},
'point_ids': {'key': 'pointIds', 'type': '[int]'},
'suite_ids': {'key': 'suiteIds', 'type': '[int]'},
'test_case_ids': {'key': 'testCaseIds', 'type': '[int]'},
'work_item_category': {'key': 'workItemCategory', 'type': 'str'}
}
def __init__(self, automated_test_names=None, plan_id=None, point_ids=None, suite_ids=None, test_case_ids=None, work_item_category=None):
super(LinkedWorkItemsQuery, self).__init__()
self.automated_test_names = automated_test_names
self.plan_id = plan_id
self.point_ids = point_ids
self.suite_ids = suite_ids
self.test_case_ids = test_case_ids
self.work_item_category = work_item_category
class LinkedWorkItemsQueryResult(Model):
"""LinkedWorkItemsQueryResult.
:param automated_test_name:
:type automated_test_name: str
:param plan_id:
:type plan_id: int
:param point_id:
:type point_id: int
:param suite_id:
:type suite_id: int
:param test_case_id:
:type test_case_id: int
:param work_items:
:type work_items: list of :class:`WorkItemReference <azure.devops.v5_0.test.models.WorkItemReference>`
"""
_attribute_map = {
'automated_test_name': {'key': 'automatedTestName', 'type': 'str'},
'plan_id': {'key': 'planId', 'type': 'int'},
'point_id': {'key': 'pointId', 'type': 'int'},
'suite_id': {'key': 'suiteId', 'type': 'int'},
'test_case_id': {'key': 'testCaseId', 'type': 'int'},
'work_items': {'key': 'workItems', 'type': '[WorkItemReference]'}
}
def __init__(self, automated_test_name=None, plan_id=None, point_id=None, suite_id=None, test_case_id=None, work_items=None):
super(LinkedWorkItemsQueryResult, self).__init__()
self.automated_test_name = automated_test_name
self.plan_id = plan_id
self.point_id = point_id
self.suite_id = suite_id
self.test_case_id = test_case_id
self.work_items = work_items
class ModuleCoverage(Model):
"""ModuleCoverage.
:param block_count:
:type block_count: int
:param block_data:
:type block_data: str
:param file_url: Code Coverage File Url
:type file_url: str
:param functions:
:type functions: list of :class:`FunctionCoverage <azure.devops.v5_0.test.models.FunctionCoverage>`
:param name:
:type name: str
:param signature:
:type signature: str
:param signature_age:
:type signature_age: int
:param statistics:
:type statistics: :class:`CoverageStatistics <azure.devops.v5_0.test.models.CoverageStatistics>`
"""
_attribute_map = {
'block_count': {'key': 'blockCount', 'type': 'int'},
'block_data': {'key': 'blockData', 'type': 'str'},
'file_url': {'key': 'fileUrl', 'type': 'str'},
'functions': {'key': 'functions', 'type': '[FunctionCoverage]'},
'name': {'key': 'name', 'type': 'str'},
'signature': {'key': 'signature', 'type': 'str'},
'signature_age': {'key': 'signatureAge', 'type': 'int'},
'statistics': {'key': 'statistics', 'type': 'CoverageStatistics'}
}
def __init__(self, block_count=None, block_data=None, file_url=None, functions=None, name=None, signature=None, signature_age=None, statistics=None):
super(ModuleCoverage, self).__init__()
self.block_count = block_count
self.block_data = block_data
self.file_url = file_url
self.functions = functions
self.name = name
self.signature = signature
self.signature_age = signature_age
self.statistics = statistics
class NameValuePair(Model):
"""NameValuePair.
:param name: Name
:type name: str
:param value: Value
:type value: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'value': {'key': 'value', 'type': 'str'}
}
def __init__(self, name=None, value=None):
super(NameValuePair, self).__init__()
self.name = name
self.value = value
class PlanUpdateModel(Model):
"""PlanUpdateModel.
:param area: Area path to which the test plan belongs. This should be set to area path of the team that works on this test plan.
:type area: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param automated_test_environment:
:type automated_test_environment: :class:`TestEnvironment <azure.devops.v5_0.test.models.TestEnvironment>`
:param automated_test_settings:
:type automated_test_settings: :class:`TestSettings <azure.devops.v5_0.test.models.TestSettings>`
:param build: Build ID of the build whose quality is tested by the tests in this test plan. For automated testing, this build ID is used to find the test binaries that contain automated test methods.
:type build: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param build_definition: The Build Definition that generates a build associated with this test plan.
:type build_definition: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param configuration_ids: IDs of configurations to be applied when new test suites and test cases are added to the test plan.
:type configuration_ids: list of int
:param description: Description of the test plan.
:type description: str
:param end_date: End date for the test plan.
:type end_date: str
:param iteration: Iteration path assigned to the test plan. This indicates when the target iteration by which the testing in this plan is supposed to be complete and the product is ready to be released.
:type iteration: str
:param manual_test_environment:
:type manual_test_environment: :class:`TestEnvironment <azure.devops.v5_0.test.models.TestEnvironment>`
:param manual_test_settings:
:type manual_test_settings: :class:`TestSettings <azure.devops.v5_0.test.models.TestSettings>`
:param name: Name of the test plan.
:type name: str
:param owner: Owner of the test plan.
:type owner: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
:param release_environment_definition: Release Environment to be used to deploy the build and run automated tests from this test plan.
:type release_environment_definition: :class:`ReleaseEnvironmentDefinitionReference <azure.devops.v5_0.test.models.ReleaseEnvironmentDefinitionReference>`
:param start_date: Start date for the test plan.
:type start_date: str
:param state: State of the test plan.
:type state: str
:param status:
:type status: str
:param test_outcome_settings: Test Outcome settings
:type test_outcome_settings: :class:`TestOutcomeSettings <azure.devops.v5_0.test.models.TestOutcomeSettings>`
"""
_attribute_map = {
'area': {'key': 'area', 'type': 'ShallowReference'},
'automated_test_environment': {'key': 'automatedTestEnvironment', 'type': 'TestEnvironment'},
'automated_test_settings': {'key': 'automatedTestSettings', 'type': 'TestSettings'},
'build': {'key': 'build', 'type': 'ShallowReference'},
'build_definition': {'key': 'buildDefinition', 'type': 'ShallowReference'},
'configuration_ids': {'key': 'configurationIds', 'type': '[int]'},
'description': {'key': 'description', 'type': 'str'},
'end_date': {'key': 'endDate', 'type': 'str'},
'iteration': {'key': 'iteration', 'type': 'str'},
'manual_test_environment': {'key': 'manualTestEnvironment', 'type': 'TestEnvironment'},
'manual_test_settings': {'key': 'manualTestSettings', 'type': 'TestSettings'},
'name': {'key': 'name', 'type': 'str'},
'owner': {'key': 'owner', 'type': 'IdentityRef'},
'release_environment_definition': {'key': 'releaseEnvironmentDefinition', 'type': 'ReleaseEnvironmentDefinitionReference'},
'start_date': {'key': 'startDate', 'type': 'str'},
'state': {'key': 'state', 'type': 'str'},
'status': {'key': 'status', 'type': 'str'},
'test_outcome_settings': {'key': 'testOutcomeSettings', 'type': 'TestOutcomeSettings'}
}
def __init__(self, area=None, automated_test_environment=None, automated_test_settings=None, build=None, build_definition=None, configuration_ids=None, description=None, end_date=None, iteration=None, manual_test_environment=None, manual_test_settings=None, name=None, owner=None, release_environment_definition=None, start_date=None, state=None, status=None, test_outcome_settings=None):
super(PlanUpdateModel, self).__init__()
self.area = area
self.automated_test_environment = automated_test_environment
self.automated_test_settings = automated_test_settings
self.build = build
self.build_definition = build_definition
self.configuration_ids = configuration_ids
self.description = description
self.end_date = end_date
self.iteration = iteration
self.manual_test_environment = manual_test_environment
self.manual_test_settings = manual_test_settings
self.name = name
self.owner = owner
self.release_environment_definition = release_environment_definition
self.start_date = start_date
self.state = state
self.status = status
self.test_outcome_settings = test_outcome_settings
class PointAssignment(Model):
"""PointAssignment.
:param configuration: Configuration that was assigned to the test case.
:type configuration: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param tester: Tester that was assigned to the test case
:type tester: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
"""
_attribute_map = {
'configuration': {'key': 'configuration', 'type': 'ShallowReference'},
'tester': {'key': 'tester', 'type': 'IdentityRef'}
}
def __init__(self, configuration=None, tester=None):
super(PointAssignment, self).__init__()
self.configuration = configuration
self.tester = tester
class PointsFilter(Model):
"""PointsFilter.
:param configuration_names: List of Configurations for filtering.
:type configuration_names: list of str
:param testcase_ids: List of test case id for filtering.
:type testcase_ids: list of int
:param testers: List of tester for filtering.
:type testers: list of :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
"""
_attribute_map = {
'configuration_names': {'key': 'configurationNames', 'type': '[str]'},
'testcase_ids': {'key': 'testcaseIds', 'type': '[int]'},
'testers': {'key': 'testers', 'type': '[IdentityRef]'}
}
def __init__(self, configuration_names=None, testcase_ids=None, testers=None):
super(PointsFilter, self).__init__()
self.configuration_names = configuration_names
self.testcase_ids = testcase_ids
self.testers = testers
class PointUpdateModel(Model):
"""PointUpdateModel.
:param outcome: Outcome to update.
:type outcome: str
:param reset_to_active: Reset test point to active.
:type reset_to_active: bool
:param tester: Tester to update. Type IdentityRef.
:type tester: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
"""
_attribute_map = {
'outcome': {'key': 'outcome', 'type': 'str'},
'reset_to_active': {'key': 'resetToActive', 'type': 'bool'},
'tester': {'key': 'tester', 'type': 'IdentityRef'}
}
def __init__(self, outcome=None, reset_to_active=None, tester=None):
super(PointUpdateModel, self).__init__()
self.outcome = outcome
self.reset_to_active = reset_to_active
self.tester = tester
class PropertyBag(Model):
"""PropertyBag.
:param bag: Generic store for test session data
:type bag: dict
"""
_attribute_map = {
'bag': {'key': 'bag', 'type': '{str}'}
}
def __init__(self, bag=None):
super(PropertyBag, self).__init__()
self.bag = bag
class QueryModel(Model):
"""QueryModel.
:param query:
:type query: str
"""
_attribute_map = {
'query': {'key': 'query', 'type': 'str'}
}
def __init__(self, query=None):
super(QueryModel, self).__init__()
self.query = query
class ReferenceLinks(Model):
"""ReferenceLinks.
:param links: The readonly view of the links. Because Reference links are readonly, we only want to expose them as read only.
:type links: dict
"""
_attribute_map = {
'links': {'key': 'links', 'type': '{object}'}
}
def __init__(self, links=None):
super(ReferenceLinks, self).__init__()
self.links = links
class ReleaseEnvironmentDefinitionReference(Model):
"""ReleaseEnvironmentDefinitionReference.
:param definition_id: ID of the release definition that contains the release environment definition.
:type definition_id: int
:param environment_definition_id: ID of the release environment definition.
:type environment_definition_id: int
"""
_attribute_map = {
'definition_id': {'key': 'definitionId', 'type': 'int'},
'environment_definition_id': {'key': 'environmentDefinitionId', 'type': 'int'}
}
def __init__(self, definition_id=None, environment_definition_id=None):
super(ReleaseEnvironmentDefinitionReference, self).__init__()
self.definition_id = definition_id
self.environment_definition_id = environment_definition_id
class ReleaseReference(Model):
"""ReleaseReference.
:param attempt:
:type attempt: int
:param creation_date:
:type creation_date: datetime
:param definition_id: Release definition ID.
:type definition_id: int
:param environment_creation_date:
:type environment_creation_date: datetime
:param environment_definition_id: Release environment definition ID.
:type environment_definition_id: int
:param environment_definition_name: Release environment definition name.
:type environment_definition_name: str
:param environment_id: Release environment ID.
:type environment_id: int
:param environment_name: Release environment name.
:type environment_name: str
:param id: Release ID.
:type id: int
:param name: Release name.
:type name: str
"""
_attribute_map = {
'attempt': {'key': 'attempt', 'type': 'int'},
'creation_date': {'key': 'creationDate', 'type': 'iso-8601'},
'definition_id': {'key': 'definitionId', 'type': 'int'},
'environment_creation_date': {'key': 'environmentCreationDate', 'type': 'iso-8601'},
'environment_definition_id': {'key': 'environmentDefinitionId', 'type': 'int'},
'environment_definition_name': {'key': 'environmentDefinitionName', 'type': 'str'},
'environment_id': {'key': 'environmentId', 'type': 'int'},
'environment_name': {'key': 'environmentName', 'type': 'str'},
'id': {'key': 'id', 'type': 'int'},
'name': {'key': 'name', 'type': 'str'}
}
def __init__(self, attempt=None, creation_date=None, definition_id=None, environment_creation_date=None, environment_definition_id=None, environment_definition_name=None, environment_id=None, environment_name=None, id=None, name=None):
super(ReleaseReference, self).__init__()
self.attempt = attempt
self.creation_date = creation_date
self.definition_id = definition_id
self.environment_creation_date = environment_creation_date
self.environment_definition_id = environment_definition_id
self.environment_definition_name = environment_definition_name
self.environment_id = environment_id
self.environment_name = environment_name
self.id = id
self.name = name
class ResultRetentionSettings(Model):
"""ResultRetentionSettings.
:param automated_results_retention_duration: Automated test result retention duration in days
:type automated_results_retention_duration: int
:param last_updated_by: Last Updated by identity
:type last_updated_by: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
:param last_updated_date: Last updated date
:type last_updated_date: datetime
:param manual_results_retention_duration: Manual test result retention duration in days
:type manual_results_retention_duration: int
"""
_attribute_map = {
'automated_results_retention_duration': {'key': 'automatedResultsRetentionDuration', 'type': 'int'},
'last_updated_by': {'key': 'lastUpdatedBy', 'type': 'IdentityRef'},
'last_updated_date': {'key': 'lastUpdatedDate', 'type': 'iso-8601'},
'manual_results_retention_duration': {'key': 'manualResultsRetentionDuration', 'type': 'int'}
}
def __init__(self, automated_results_retention_duration=None, last_updated_by=None, last_updated_date=None, manual_results_retention_duration=None):
super(ResultRetentionSettings, self).__init__()
self.automated_results_retention_duration = automated_results_retention_duration
self.last_updated_by = last_updated_by
self.last_updated_date = last_updated_date
self.manual_results_retention_duration = manual_results_retention_duration
class ResultsFilter(Model):
"""ResultsFilter.
:param automated_test_name:
:type automated_test_name: str
:param branch:
:type branch: str
:param executed_in:
:type executed_in: object
:param group_by:
:type group_by: str
:param max_complete_date:
:type max_complete_date: datetime
:param results_count:
:type results_count: int
:param test_case_id:
:type test_case_id: int
:param test_case_reference_ids:
:type test_case_reference_ids: list of int
:param test_plan_id:
:type test_plan_id: int
:param test_point_ids:
:type test_point_ids: list of int
:param test_results_context:
:type test_results_context: :class:`TestResultsContext <azure.devops.v5_0.test.models.TestResultsContext>`
:param trend_days:
:type trend_days: int
"""
_attribute_map = {
'automated_test_name': {'key': 'automatedTestName', 'type': 'str'},
'branch': {'key': 'branch', 'type': 'str'},
'executed_in': {'key': 'executedIn', 'type': 'object'},
'group_by': {'key': 'groupBy', 'type': 'str'},
'max_complete_date': {'key': 'maxCompleteDate', 'type': 'iso-8601'},
'results_count': {'key': 'resultsCount', 'type': 'int'},
'test_case_id': {'key': 'testCaseId', 'type': 'int'},
'test_case_reference_ids': {'key': 'testCaseReferenceIds', 'type': '[int]'},
'test_plan_id': {'key': 'testPlanId', 'type': 'int'},
'test_point_ids': {'key': 'testPointIds', 'type': '[int]'},
'test_results_context': {'key': 'testResultsContext', 'type': 'TestResultsContext'},
'trend_days': {'key': 'trendDays', 'type': 'int'}
}
def __init__(self, automated_test_name=None, branch=None, executed_in=None, group_by=None, max_complete_date=None, results_count=None, test_case_id=None, test_case_reference_ids=None, test_plan_id=None, test_point_ids=None, test_results_context=None, trend_days=None):
super(ResultsFilter, self).__init__()
self.automated_test_name = automated_test_name
self.branch = branch
self.executed_in = executed_in
self.group_by = group_by
self.max_complete_date = max_complete_date
self.results_count = results_count
self.test_case_id = test_case_id
self.test_case_reference_ids = test_case_reference_ids
self.test_plan_id = test_plan_id
self.test_point_ids = test_point_ids
self.test_results_context = test_results_context
self.trend_days = trend_days
class RunCreateModel(Model):
"""RunCreateModel.
:param automated: true if test run is automated, false otherwise. By default it will be false.
:type automated: bool
:param build: An abstracted reference to the build that it belongs.
:type build: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param build_drop_location: Drop location of the build used for test run.
:type build_drop_location: str
:param build_flavor: Flavor of the build used for test run. (E.g: Release, Debug)
:type build_flavor: str
:param build_platform: Platform of the build used for test run. (E.g.: x86, amd64)
:type build_platform: str
:param build_reference:
:type build_reference: :class:`BuildConfiguration <azure.devops.v5_0.test.models.BuildConfiguration>`
:param comment: Comments entered by those analyzing the run.
:type comment: str
:param complete_date: Completed date time of the run.
:type complete_date: str
:param configuration_ids: IDs of the test configurations associated with the run.
:type configuration_ids: list of int
:param controller: Name of the test controller used for automated run.
:type controller: str
:param custom_test_fields:
:type custom_test_fields: list of :class:`CustomTestField <azure.devops.v5_0.test.models.CustomTestField>`
:param dtl_aut_environment: An abstracted reference to DtlAutEnvironment.
:type dtl_aut_environment: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param dtl_test_environment: An abstracted reference to DtlTestEnvironment.
:type dtl_test_environment: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param due_date: Due date and time for test run.
:type due_date: str
:param environment_details:
:type environment_details: :class:`DtlEnvironmentDetails <azure.devops.v5_0.test.models.DtlEnvironmentDetails>`
:param error_message: Error message associated with the run.
:type error_message: str
:param filter:
:type filter: :class:`RunFilter <azure.devops.v5_0.test.models.RunFilter>`
:param iteration: The iteration in which to create the run. Root iteration of the team project will be default
:type iteration: str
:param name: Name of the test run.
:type name: str
:param owner: Display name of the owner of the run.
:type owner: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
:param plan: An abstracted reference to the plan that it belongs.
:type plan: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param point_ids: IDs of the test points to use in the run.
:type point_ids: list of int
:param release_environment_uri: URI of release environment associated with the run.
:type release_environment_uri: str
:param release_reference:
:type release_reference: :class:`ReleaseReference <azure.devops.v5_0.test.models.ReleaseReference>`
:param release_uri: URI of release associated with the run.
:type release_uri: str
:param run_timeout:
:type run_timeout: object
:param source_workflow:
:type source_workflow: str
:param start_date: Start date time of the run.
:type start_date: str
:param state: The state of the run. Valid states - NotStarted, InProgress, Waiting
:type state: str
:param test_configurations_mapping:
:type test_configurations_mapping: str
:param test_environment_id: ID of the test environment associated with the run.
:type test_environment_id: str
:param test_settings: An abstracted reference to the test settings resource.
:type test_settings: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param type:
:type type: str
"""
_attribute_map = {
'automated': {'key': 'automated', 'type': 'bool'},
'build': {'key': 'build', 'type': 'ShallowReference'},
'build_drop_location': {'key': 'buildDropLocation', 'type': 'str'},
'build_flavor': {'key': 'buildFlavor', 'type': 'str'},
'build_platform': {'key': 'buildPlatform', 'type': 'str'},
'build_reference': {'key': 'buildReference', 'type': 'BuildConfiguration'},
'comment': {'key': 'comment', 'type': 'str'},
'complete_date': {'key': 'completeDate', 'type': 'str'},
'configuration_ids': {'key': 'configurationIds', 'type': '[int]'},
'controller': {'key': 'controller', 'type': 'str'},
'custom_test_fields': {'key': 'customTestFields', 'type': '[CustomTestField]'},
'dtl_aut_environment': {'key': 'dtlAutEnvironment', 'type': 'ShallowReference'},
'dtl_test_environment': {'key': 'dtlTestEnvironment', 'type': 'ShallowReference'},
'due_date': {'key': 'dueDate', 'type': 'str'},
'environment_details': {'key': 'environmentDetails', 'type': 'DtlEnvironmentDetails'},
'error_message': {'key': 'errorMessage', 'type': 'str'},
'filter': {'key': 'filter', 'type': 'RunFilter'},
'iteration': {'key': 'iteration', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'owner': {'key': 'owner', 'type': 'IdentityRef'},
'plan': {'key': 'plan', 'type': 'ShallowReference'},
'point_ids': {'key': 'pointIds', 'type': '[int]'},
'release_environment_uri': {'key': 'releaseEnvironmentUri', 'type': 'str'},
'release_reference': {'key': 'releaseReference', 'type': 'ReleaseReference'},
'release_uri': {'key': 'releaseUri', 'type': 'str'},
'run_timeout': {'key': 'runTimeout', 'type': 'object'},
'source_workflow': {'key': 'sourceWorkflow', 'type': 'str'},
'start_date': {'key': 'startDate', 'type': 'str'},
'state': {'key': 'state', 'type': 'str'},
'test_configurations_mapping': {'key': 'testConfigurationsMapping', 'type': 'str'},
'test_environment_id': {'key': 'testEnvironmentId', 'type': 'str'},
'test_settings': {'key': 'testSettings', 'type': 'ShallowReference'},
'type': {'key': 'type', 'type': 'str'}
}
def __init__(self, automated=None, build=None, build_drop_location=None, build_flavor=None, build_platform=None, build_reference=None, comment=None, complete_date=None, configuration_ids=None, controller=None, custom_test_fields=None, dtl_aut_environment=None, dtl_test_environment=None, due_date=None, environment_details=None, error_message=None, filter=None, iteration=None, name=None, owner=None, plan=None, point_ids=None, release_environment_uri=None, release_reference=None, release_uri=None, run_timeout=None, source_workflow=None, start_date=None, state=None, test_configurations_mapping=None, test_environment_id=None, test_settings=None, type=None):
super(RunCreateModel, self).__init__()
self.automated = automated
self.build = build
self.build_drop_location = build_drop_location
self.build_flavor = build_flavor
self.build_platform = build_platform
self.build_reference = build_reference
self.comment = comment
self.complete_date = complete_date
self.configuration_ids = configuration_ids
self.controller = controller
self.custom_test_fields = custom_test_fields
self.dtl_aut_environment = dtl_aut_environment
self.dtl_test_environment = dtl_test_environment
self.due_date = due_date
self.environment_details = environment_details
self.error_message = error_message
self.filter = filter
self.iteration = iteration
self.name = name
self.owner = owner
self.plan = plan
self.point_ids = point_ids
self.release_environment_uri = release_environment_uri
self.release_reference = release_reference
self.release_uri = release_uri
self.run_timeout = run_timeout
self.source_workflow = source_workflow
self.start_date = start_date
self.state = state
self.test_configurations_mapping = test_configurations_mapping
self.test_environment_id = test_environment_id
self.test_settings = test_settings
self.type = type
class RunFilter(Model):
"""RunFilter.
:param source_filter: filter for the test case sources (test containers)
:type source_filter: str
:param test_case_filter: filter for the test cases
:type test_case_filter: str
"""
_attribute_map = {
'source_filter': {'key': 'sourceFilter', 'type': 'str'},
'test_case_filter': {'key': 'testCaseFilter', 'type': 'str'}
}
def __init__(self, source_filter=None, test_case_filter=None):
super(RunFilter, self).__init__()
self.source_filter = source_filter
self.test_case_filter = test_case_filter
class RunStatistic(Model):
"""RunStatistic.
:param count:
:type count: int
:param outcome: Test run outcome
:type outcome: str
:param resolution_state:
:type resolution_state: :class:`TestResolutionState <azure.devops.v5_0.test.models.TestResolutionState>`
:param state: State of the test run
:type state: str
"""
_attribute_map = {
'count': {'key': 'count', 'type': 'int'},
'outcome': {'key': 'outcome', 'type': 'str'},
'resolution_state': {'key': 'resolutionState', 'type': 'TestResolutionState'},
'state': {'key': 'state', 'type': 'str'}
}
def __init__(self, count=None, outcome=None, resolution_state=None, state=None):
super(RunStatistic, self).__init__()
self.count = count
self.outcome = outcome
self.resolution_state = resolution_state
self.state = state
class RunUpdateModel(Model):
"""RunUpdateModel.
:param build: An abstracted reference to the build that it belongs.
:type build: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param build_drop_location:
:type build_drop_location: str
:param build_flavor:
:type build_flavor: str
:param build_platform:
:type build_platform: str
:param comment: Comments entered by those analyzing the run.
:type comment: str
:param completed_date: Completed date time of the run.
:type completed_date: str
:param controller: Name of the test controller used for automated run.
:type controller: str
:param delete_in_progress_results:
:type delete_in_progress_results: bool
:param dtl_aut_environment: An abstracted reference to DtlAutEnvironment.
:type dtl_aut_environment: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param dtl_environment: An abstracted reference to DtlEnvironment.
:type dtl_environment: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param dtl_environment_details:
:type dtl_environment_details: :class:`DtlEnvironmentDetails <azure.devops.v5_0.test.models.DtlEnvironmentDetails>`
:param due_date: Due date and time for test run.
:type due_date: str
:param error_message: Error message associated with the run.
:type error_message: str
:param iteration: The iteration in which to create the run.
:type iteration: str
:param log_entries: Log entries associated with the run. Use a comma-separated list of multiple log entry objects. { logEntry }, { logEntry }, ...
:type log_entries: list of :class:`TestMessageLogDetails <azure.devops.v5_0.test.models.TestMessageLogDetails>`
:param name: Name of the test run.
:type name: str
:param release_environment_uri:
:type release_environment_uri: str
:param release_uri:
:type release_uri: str
:param source_workflow:
:type source_workflow: str
:param started_date: Start date time of the run.
:type started_date: str
:param state: The state of the test run Below are the valid values - NotStarted, InProgress, Completed, Aborted, Waiting
:type state: str
:param substate:
:type substate: object
:param test_environment_id:
:type test_environment_id: str
:param test_settings: An abstracted reference to test setting resource.
:type test_settings: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
"""
_attribute_map = {
'build': {'key': 'build', 'type': 'ShallowReference'},
'build_drop_location': {'key': 'buildDropLocation', 'type': 'str'},
'build_flavor': {'key': 'buildFlavor', 'type': 'str'},
'build_platform': {'key': 'buildPlatform', 'type': 'str'},
'comment': {'key': 'comment', 'type': 'str'},
'completed_date': {'key': 'completedDate', 'type': 'str'},
'controller': {'key': 'controller', 'type': 'str'},
'delete_in_progress_results': {'key': 'deleteInProgressResults', 'type': 'bool'},
'dtl_aut_environment': {'key': 'dtlAutEnvironment', 'type': 'ShallowReference'},
'dtl_environment': {'key': 'dtlEnvironment', 'type': 'ShallowReference'},
'dtl_environment_details': {'key': 'dtlEnvironmentDetails', 'type': 'DtlEnvironmentDetails'},
'due_date': {'key': 'dueDate', 'type': 'str'},
'error_message': {'key': 'errorMessage', 'type': 'str'},
'iteration': {'key': 'iteration', 'type': 'str'},
'log_entries': {'key': 'logEntries', 'type': '[TestMessageLogDetails]'},
'name': {'key': 'name', 'type': 'str'},
'release_environment_uri': {'key': 'releaseEnvironmentUri', 'type': 'str'},
'release_uri': {'key': 'releaseUri', 'type': 'str'},
'source_workflow': {'key': 'sourceWorkflow', 'type': 'str'},
'started_date': {'key': 'startedDate', 'type': 'str'},
'state': {'key': 'state', 'type': 'str'},
'substate': {'key': 'substate', 'type': 'object'},
'test_environment_id': {'key': 'testEnvironmentId', 'type': 'str'},
'test_settings': {'key': 'testSettings', 'type': 'ShallowReference'}
}
def __init__(self, build=None, build_drop_location=None, build_flavor=None, build_platform=None, comment=None, completed_date=None, controller=None, delete_in_progress_results=None, dtl_aut_environment=None, dtl_environment=None, dtl_environment_details=None, due_date=None, error_message=None, iteration=None, log_entries=None, name=None, release_environment_uri=None, release_uri=None, source_workflow=None, started_date=None, state=None, substate=None, test_environment_id=None, test_settings=None):
super(RunUpdateModel, self).__init__()
self.build = build
self.build_drop_location = build_drop_location
self.build_flavor = build_flavor
self.build_platform = build_platform
self.comment = comment
self.completed_date = completed_date
self.controller = controller
self.delete_in_progress_results = delete_in_progress_results
self.dtl_aut_environment = dtl_aut_environment
self.dtl_environment = dtl_environment
self.dtl_environment_details = dtl_environment_details
self.due_date = due_date
self.error_message = error_message
self.iteration = iteration
self.log_entries = log_entries
self.name = name
self.release_environment_uri = release_environment_uri
self.release_uri = release_uri
self.source_workflow = source_workflow
self.started_date = started_date
self.state = state
self.substate = substate
self.test_environment_id = test_environment_id
self.test_settings = test_settings
class ShallowReference(Model):
"""ShallowReference.
:param id: ID of the resource
:type id: str
:param name: Name of the linked resource (definition name, controller name, etc.)
:type name: str
:param url: Full http link to the resource
:type url: str
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'url': {'key': 'url', 'type': 'str'}
}
def __init__(self, id=None, name=None, url=None):
super(ShallowReference, self).__init__()
self.id = id
self.name = name
self.url = url
class ShallowTestCaseResult(Model):
"""ShallowTestCaseResult.
:param automated_test_storage:
:type automated_test_storage: str
:param duration_in_ms:
:type duration_in_ms: float
:param id:
:type id: int
:param is_re_run:
:type is_re_run: bool
:param outcome:
:type outcome: str
:param owner:
:type owner: str
:param priority:
:type priority: int
:param ref_id:
:type ref_id: int
:param run_id:
:type run_id: int
:param test_case_title:
:type test_case_title: str
"""
_attribute_map = {
'automated_test_storage': {'key': 'automatedTestStorage', 'type': 'str'},
'duration_in_ms': {'key': 'durationInMs', 'type': 'float'},
'id': {'key': 'id', 'type': 'int'},
'is_re_run': {'key': 'isReRun', 'type': 'bool'},
'outcome': {'key': 'outcome', 'type': 'str'},
'owner': {'key': 'owner', 'type': 'str'},
'priority': {'key': 'priority', 'type': 'int'},
'ref_id': {'key': 'refId', 'type': 'int'},
'run_id': {'key': 'runId', 'type': 'int'},
'test_case_title': {'key': 'testCaseTitle', 'type': 'str'}
}
def __init__(self, automated_test_storage=None, duration_in_ms=None, id=None, is_re_run=None, outcome=None, owner=None, priority=None, ref_id=None, run_id=None, test_case_title=None):
super(ShallowTestCaseResult, self).__init__()
self.automated_test_storage = automated_test_storage
self.duration_in_ms = duration_in_ms
self.id = id
self.is_re_run = is_re_run
self.outcome = outcome
self.owner = owner
self.priority = priority
self.ref_id = ref_id
self.run_id = run_id
self.test_case_title = test_case_title
class SharedStepModel(Model):
"""SharedStepModel.
:param id: WorkItem shared step ID.
:type id: int
:param revision: Shared step workitem revision.
:type revision: int
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'int'},
'revision': {'key': 'revision', 'type': 'int'}
}
def __init__(self, id=None, revision=None):
super(SharedStepModel, self).__init__()
self.id = id
self.revision = revision
class SuiteCreateModel(Model):
"""SuiteCreateModel.
:param name: Name of test suite.
:type name: str
:param query_string: For query based suites, query string that defines the suite.
:type query_string: str
:param requirement_ids: For requirements test suites, the IDs of the requirements.
:type requirement_ids: list of int
:param suite_type: Type of test suite to create. It can have value from DynamicTestSuite, StaticTestSuite and RequirementTestSuite.
:type suite_type: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'query_string': {'key': 'queryString', 'type': 'str'},
'requirement_ids': {'key': 'requirementIds', 'type': '[int]'},
'suite_type': {'key': 'suiteType', 'type': 'str'}
}
def __init__(self, name=None, query_string=None, requirement_ids=None, suite_type=None):
super(SuiteCreateModel, self).__init__()
self.name = name
self.query_string = query_string
self.requirement_ids = requirement_ids
self.suite_type = suite_type
class SuiteEntry(Model):
"""SuiteEntry.
:param child_suite_id: Id of child suite in the test suite.
:type child_suite_id: int
:param sequence_number: Sequence number for the test case or child test suite in the test suite.
:type sequence_number: int
:param suite_id: Id for the test suite.
:type suite_id: int
:param test_case_id: Id of a test case in the test suite.
:type test_case_id: int
"""
_attribute_map = {
'child_suite_id': {'key': 'childSuiteId', 'type': 'int'},
'sequence_number': {'key': 'sequenceNumber', 'type': 'int'},
'suite_id': {'key': 'suiteId', 'type': 'int'},
'test_case_id': {'key': 'testCaseId', 'type': 'int'}
}
def __init__(self, child_suite_id=None, sequence_number=None, suite_id=None, test_case_id=None):
super(SuiteEntry, self).__init__()
self.child_suite_id = child_suite_id
self.sequence_number = sequence_number
self.suite_id = suite_id
self.test_case_id = test_case_id
class SuiteEntryUpdateModel(Model):
"""SuiteEntryUpdateModel.
:param child_suite_id: Id of the child suite in the test suite.
:type child_suite_id: int
:param sequence_number: Updated sequence number for the test case or child test suite in the test suite.
:type sequence_number: int
:param test_case_id: Id of the test case in the test suite.
:type test_case_id: int
"""
_attribute_map = {
'child_suite_id': {'key': 'childSuiteId', 'type': 'int'},
'sequence_number': {'key': 'sequenceNumber', 'type': 'int'},
'test_case_id': {'key': 'testCaseId', 'type': 'int'}
}
def __init__(self, child_suite_id=None, sequence_number=None, test_case_id=None):
super(SuiteEntryUpdateModel, self).__init__()
self.child_suite_id = child_suite_id
self.sequence_number = sequence_number
self.test_case_id = test_case_id
class SuiteTestCase(Model):
"""SuiteTestCase.
:param point_assignments: Point Assignment for test suite's test case.
:type point_assignments: list of :class:`PointAssignment <azure.devops.v5_0.test.models.PointAssignment>`
:param test_case: Test case workItem reference.
:type test_case: :class:`WorkItemReference <azure.devops.v5_0.test.models.WorkItemReference>`
"""
_attribute_map = {
'point_assignments': {'key': 'pointAssignments', 'type': '[PointAssignment]'},
'test_case': {'key': 'testCase', 'type': 'WorkItemReference'}
}
def __init__(self, point_assignments=None, test_case=None):
super(SuiteTestCase, self).__init__()
self.point_assignments = point_assignments
self.test_case = test_case
class SuiteTestCaseUpdateModel(Model):
"""SuiteTestCaseUpdateModel.
:param configurations: Shallow reference of configurations for the test cases in the suite.
:type configurations: list of :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
"""
_attribute_map = {
'configurations': {'key': 'configurations', 'type': '[ShallowReference]'}
}
def __init__(self, configurations=None):
super(SuiteTestCaseUpdateModel, self).__init__()
self.configurations = configurations
class SuiteUpdateModel(Model):
"""SuiteUpdateModel.
:param default_configurations: Shallow reference of default configurations for the suite.
:type default_configurations: list of :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param default_testers: Shallow reference of test suite.
:type default_testers: list of :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param inherit_default_configurations: Specifies if the default configurations have to be inherited from the parent test suite in which the test suite is created.
:type inherit_default_configurations: bool
:param name: Test suite name
:type name: str
:param parent: Shallow reference of the parent.
:type parent: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param query_string: For query based suites, the new query string.
:type query_string: str
"""
_attribute_map = {
'default_configurations': {'key': 'defaultConfigurations', 'type': '[ShallowReference]'},
'default_testers': {'key': 'defaultTesters', 'type': '[ShallowReference]'},
'inherit_default_configurations': {'key': 'inheritDefaultConfigurations', 'type': 'bool'},
'name': {'key': 'name', 'type': 'str'},
'parent': {'key': 'parent', 'type': 'ShallowReference'},
'query_string': {'key': 'queryString', 'type': 'str'}
}
def __init__(self, default_configurations=None, default_testers=None, inherit_default_configurations=None, name=None, parent=None, query_string=None):
super(SuiteUpdateModel, self).__init__()
self.default_configurations = default_configurations
self.default_testers = default_testers
self.inherit_default_configurations = inherit_default_configurations
self.name = name
self.parent = parent
self.query_string = query_string
class TeamContext(Model):
"""TeamContext.
:param project: The team project Id or name. Ignored if ProjectId is set.
:type project: str
:param project_id: The Team Project ID. Required if Project is not set.
:type project_id: str
:param team: The Team Id or name. Ignored if TeamId is set.
:type team: str
:param team_id: The Team Id
:type team_id: str
"""
_attribute_map = {
'project': {'key': 'project', 'type': 'str'},
'project_id': {'key': 'projectId', 'type': 'str'},
'team': {'key': 'team', 'type': 'str'},
'team_id': {'key': 'teamId', 'type': 'str'}
}
def __init__(self, project=None, project_id=None, team=None, team_id=None):
super(TeamContext, self).__init__()
self.project = project
self.project_id = project_id
self.team = team
self.team_id = team_id
class TeamProjectReference(Model):
"""TeamProjectReference.
:param abbreviation: Project abbreviation.
:type abbreviation: str
:param default_team_image_url: Url to default team identity image.
:type default_team_image_url: str
:param description: The project's description (if any).
:type description: str
:param id: Project identifier.
:type id: str
:param name: Project name.
:type name: str
:param revision: Project revision.
:type revision: long
:param state: Project state.
:type state: object
:param url: Url to the full version of the object.
:type url: str
:param visibility: Project visibility.
:type visibility: object
"""
_attribute_map = {
'abbreviation': {'key': 'abbreviation', 'type': 'str'},
'default_team_image_url': {'key': 'defaultTeamImageUrl', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'revision': {'key': 'revision', 'type': 'long'},
'state': {'key': 'state', 'type': 'object'},
'url': {'key': 'url', 'type': 'str'},
'visibility': {'key': 'visibility', 'type': 'object'}
}
def __init__(self, abbreviation=None, default_team_image_url=None, description=None, id=None, name=None, revision=None, state=None, url=None, visibility=None):
super(TeamProjectReference, self).__init__()
self.abbreviation = abbreviation
self.default_team_image_url = default_team_image_url
self.description = description
self.id = id
self.name = name
self.revision = revision
self.state = state
self.url = url
self.visibility = visibility
class TestAttachment(Model):
"""TestAttachment.
:param attachment_type: Attachment type.
:type attachment_type: object
:param comment: Comment associated with attachment.
:type comment: str
:param created_date: Attachment created date.
:type created_date: datetime
:param file_name: Attachment file name
:type file_name: str
:param id: ID of the attachment.
:type id: int
:param size: Attachment size.
:type size: long
:param url: Attachment Url.
:type url: str
"""
_attribute_map = {
'attachment_type': {'key': 'attachmentType', 'type': 'object'},
'comment': {'key': 'comment', 'type': 'str'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'file_name': {'key': 'fileName', 'type': 'str'},
'id': {'key': 'id', 'type': 'int'},
'size': {'key': 'size', 'type': 'long'},
'url': {'key': 'url', 'type': 'str'}
}
def __init__(self, attachment_type=None, comment=None, created_date=None, file_name=None, id=None, size=None, url=None):
super(TestAttachment, self).__init__()
self.attachment_type = attachment_type
self.comment = comment
self.created_date = created_date
self.file_name = file_name
self.id = id
self.size = size
self.url = url
class TestAttachmentReference(Model):
"""TestAttachmentReference.
:param id: ID of the attachment.
:type id: int
:param url: Url to download the attachment.
:type url: str
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'int'},
'url': {'key': 'url', 'type': 'str'}
}
def __init__(self, id=None, url=None):
super(TestAttachmentReference, self).__init__()
self.id = id
self.url = url
class TestAttachmentRequestModel(Model):
"""TestAttachmentRequestModel.
:param attachment_type: Attachment type By Default it will be GeneralAttachment. It can be one of the following type. { GeneralAttachment, AfnStrip, BugFilingData, CodeCoverage, IntermediateCollectorData, RunConfig, TestImpactDetails, TmiTestRunDeploymentFiles, TmiTestRunReverseDeploymentFiles, TmiTestResultDetail, TmiTestRunSummary }
:type attachment_type: str
:param comment: Comment associated with attachment
:type comment: str
:param file_name: Attachment filename
:type file_name: str
:param stream: Base64 encoded file stream
:type stream: str
"""
_attribute_map = {
'attachment_type': {'key': 'attachmentType', 'type': 'str'},
'comment': {'key': 'comment', 'type': 'str'},
'file_name': {'key': 'fileName', 'type': 'str'},
'stream': {'key': 'stream', 'type': 'str'}
}
def __init__(self, attachment_type=None, comment=None, file_name=None, stream=None):
super(TestAttachmentRequestModel, self).__init__()
self.attachment_type = attachment_type
self.comment = comment
self.file_name = file_name
self.stream = stream
class TestCaseResult(Model):
"""TestCaseResult.
:param afn_strip_id: Test attachment ID of action recording.
:type afn_strip_id: int
:param area: Reference to area path of test.
:type area: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param associated_bugs: Reference to bugs linked to test result.
:type associated_bugs: list of :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param automated_test_id: ID representing test method in a dll.
:type automated_test_id: str
:param automated_test_name: Fully qualified name of test executed.
:type automated_test_name: str
:param automated_test_storage: Container to which test belongs.
:type automated_test_storage: str
:param automated_test_type: Type of automated test.
:type automated_test_type: str
:param automated_test_type_id:
:type automated_test_type_id: str
:param build: Shallow reference to build associated with test result.
:type build: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param build_reference: Reference to build associated with test result.
:type build_reference: :class:`BuildReference <azure.devops.v5_0.test.models.BuildReference>`
:param comment: Comment in a test result.
:type comment: str
:param completed_date: Time when test execution completed.
:type completed_date: datetime
:param computer_name: Machine name where test executed.
:type computer_name: str
:param configuration: Test configuration of a test result.
:type configuration: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param created_date: Timestamp when test result created.
:type created_date: datetime
:param custom_fields: Additional properties of test result.
:type custom_fields: list of :class:`CustomTestField <azure.devops.v5_0.test.models.CustomTestField>`
:param duration_in_ms: Duration of test execution in milliseconds.
:type duration_in_ms: float
:param error_message: Error message in test execution.
:type error_message: str
:param failing_since: Information when test results started failing.
:type failing_since: :class:`FailingSince <azure.devops.v5_0.test.models.FailingSince>`
:param failure_type: Failure type of test result.
:type failure_type: str
:param id: ID of a test result.
:type id: int
:param iteration_details: Test result details of test iterations.
:type iteration_details: list of :class:`TestIterationDetailsModel <azure.devops.v5_0.test.models.TestIterationDetailsModel>`
:param last_updated_by: Reference to identity last updated test result.
:type last_updated_by: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
:param last_updated_date: Last updated datetime of test result.
:type last_updated_date: datetime
:param outcome: Test outcome of test result.
:type outcome: str
:param owner: Reference to test owner.
:type owner: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
:param priority: Priority of test executed.
:type priority: int
:param project: Reference to team project.
:type project: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param release: Shallow reference to release associated with test result.
:type release: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param release_reference: Reference to release associated with test result.
:type release_reference: :class:`ReleaseReference <azure.devops.v5_0.test.models.ReleaseReference>`
:param reset_count:
:type reset_count: int
:param resolution_state: Resolution state of test result.
:type resolution_state: str
:param resolution_state_id: ID of resolution state.
:type resolution_state_id: int
:param result_group_type: Hierarchy type of the result, default value of None means its leaf node.
:type result_group_type: object
:param revision: Revision number of test result.
:type revision: int
:param run_by: Reference to identity executed the test.
:type run_by: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
:param stack_trace: Stacktrace.
:type stack_trace: str
:param started_date: Time when test execution started.
:type started_date: datetime
:param state: State of test result.
:type state: str
:param sub_results: List of sub results inside a test result, if ResultGroupType is not None, it holds corresponding type sub results.
:type sub_results: list of :class:`TestSubResult <azure.devops.v5_0.test.models.TestSubResult>`
:param test_case: Reference to the test executed.
:type test_case: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param test_case_reference_id: Reference ID of test used by test result.
:type test_case_reference_id: int
:param test_case_revision: Name of test.
:type test_case_revision: int
:param test_case_title: Name of test.
:type test_case_title: str
:param test_plan: Reference to test plan test case workitem is part of.
:type test_plan: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param test_point: Reference to the test point executed.
:type test_point: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param test_run: Reference to test run.
:type test_run: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param test_suite: Reference to test suite test case workitem is part of.
:type test_suite: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param url: Url of test result.
:type url: str
"""
_attribute_map = {
'afn_strip_id': {'key': 'afnStripId', 'type': 'int'},
'area': {'key': 'area', 'type': 'ShallowReference'},
'associated_bugs': {'key': 'associatedBugs', 'type': '[ShallowReference]'},
'automated_test_id': {'key': 'automatedTestId', 'type': 'str'},
'automated_test_name': {'key': 'automatedTestName', 'type': 'str'},
'automated_test_storage': {'key': 'automatedTestStorage', 'type': 'str'},
'automated_test_type': {'key': 'automatedTestType', 'type': 'str'},
'automated_test_type_id': {'key': 'automatedTestTypeId', 'type': 'str'},
'build': {'key': 'build', 'type': 'ShallowReference'},
'build_reference': {'key': 'buildReference', 'type': 'BuildReference'},
'comment': {'key': 'comment', 'type': 'str'},
'completed_date': {'key': 'completedDate', 'type': 'iso-8601'},
'computer_name': {'key': 'computerName', 'type': 'str'},
'configuration': {'key': 'configuration', 'type': 'ShallowReference'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'custom_fields': {'key': 'customFields', 'type': '[CustomTestField]'},
'duration_in_ms': {'key': 'durationInMs', 'type': 'float'},
'error_message': {'key': 'errorMessage', 'type': 'str'},
'failing_since': {'key': 'failingSince', 'type': 'FailingSince'},
'failure_type': {'key': 'failureType', 'type': 'str'},
'id': {'key': 'id', 'type': 'int'},
'iteration_details': {'key': 'iterationDetails', 'type': '[TestIterationDetailsModel]'},
'last_updated_by': {'key': 'lastUpdatedBy', 'type': 'IdentityRef'},
'last_updated_date': {'key': 'lastUpdatedDate', 'type': 'iso-8601'},
'outcome': {'key': 'outcome', 'type': 'str'},
'owner': {'key': 'owner', 'type': 'IdentityRef'},
'priority': {'key': 'priority', 'type': 'int'},
'project': {'key': 'project', 'type': 'ShallowReference'},
'release': {'key': 'release', 'type': 'ShallowReference'},
'release_reference': {'key': 'releaseReference', 'type': 'ReleaseReference'},
'reset_count': {'key': 'resetCount', 'type': 'int'},
'resolution_state': {'key': 'resolutionState', 'type': 'str'},
'resolution_state_id': {'key': 'resolutionStateId', 'type': 'int'},
'result_group_type': {'key': 'resultGroupType', 'type': 'object'},
'revision': {'key': 'revision', 'type': 'int'},
'run_by': {'key': 'runBy', 'type': 'IdentityRef'},
'stack_trace': {'key': 'stackTrace', 'type': 'str'},
'started_date': {'key': 'startedDate', 'type': 'iso-8601'},
'state': {'key': 'state', 'type': 'str'},
'sub_results': {'key': 'subResults', 'type': '[TestSubResult]'},
'test_case': {'key': 'testCase', 'type': 'ShallowReference'},
'test_case_reference_id': {'key': 'testCaseReferenceId', 'type': 'int'},
'test_case_revision': {'key': 'testCaseRevision', 'type': 'int'},
'test_case_title': {'key': 'testCaseTitle', 'type': 'str'},
'test_plan': {'key': 'testPlan', 'type': 'ShallowReference'},
'test_point': {'key': 'testPoint', 'type': 'ShallowReference'},
'test_run': {'key': 'testRun', 'type': 'ShallowReference'},
'test_suite': {'key': 'testSuite', 'type': 'ShallowReference'},
'url': {'key': 'url', 'type': 'str'}
}
def __init__(self, afn_strip_id=None, area=None, associated_bugs=None, automated_test_id=None, automated_test_name=None, automated_test_storage=None, automated_test_type=None, automated_test_type_id=None, build=None, build_reference=None, comment=None, completed_date=None, computer_name=None, configuration=None, created_date=None, custom_fields=None, duration_in_ms=None, error_message=None, failing_since=None, failure_type=None, id=None, iteration_details=None, last_updated_by=None, last_updated_date=None, outcome=None, owner=None, priority=None, project=None, release=None, release_reference=None, reset_count=None, resolution_state=None, resolution_state_id=None, result_group_type=None, revision=None, run_by=None, stack_trace=None, started_date=None, state=None, sub_results=None, test_case=None, test_case_reference_id=None, test_case_revision=None, test_case_title=None, test_plan=None, test_point=None, test_run=None, test_suite=None, url=None):
super(TestCaseResult, self).__init__()
self.afn_strip_id = afn_strip_id
self.area = area
self.associated_bugs = associated_bugs
self.automated_test_id = automated_test_id
self.automated_test_name = automated_test_name
self.automated_test_storage = automated_test_storage
self.automated_test_type = automated_test_type
self.automated_test_type_id = automated_test_type_id
self.build = build
self.build_reference = build_reference
self.comment = comment
self.completed_date = completed_date
self.computer_name = computer_name
self.configuration = configuration
self.created_date = created_date
self.custom_fields = custom_fields
self.duration_in_ms = duration_in_ms
self.error_message = error_message
self.failing_since = failing_since
self.failure_type = failure_type
self.id = id
self.iteration_details = iteration_details
self.last_updated_by = last_updated_by
self.last_updated_date = last_updated_date
self.outcome = outcome
self.owner = owner
self.priority = priority
self.project = project
self.release = release
self.release_reference = release_reference
self.reset_count = reset_count
self.resolution_state = resolution_state
self.resolution_state_id = resolution_state_id
self.result_group_type = result_group_type
self.revision = revision
self.run_by = run_by
self.stack_trace = stack_trace
self.started_date = started_date
self.state = state
self.sub_results = sub_results
self.test_case = test_case
self.test_case_reference_id = test_case_reference_id
self.test_case_revision = test_case_revision
self.test_case_title = test_case_title
self.test_plan = test_plan
self.test_point = test_point
self.test_run = test_run
self.test_suite = test_suite
self.url = url
class TestCaseResultAttachmentModel(Model):
"""TestCaseResultAttachmentModel.
:param action_path: Path identifier test step in test case workitem.
:type action_path: str
:param id: Attachment ID.
:type id: int
:param iteration_id: Iteration ID.
:type iteration_id: int
:param name: Name of attachment.
:type name: str
:param size: Attachment size.
:type size: long
:param url: Url to attachment.
:type url: str
"""
_attribute_map = {
'action_path': {'key': 'actionPath', 'type': 'str'},
'id': {'key': 'id', 'type': 'int'},
'iteration_id': {'key': 'iterationId', 'type': 'int'},
'name': {'key': 'name', 'type': 'str'},
'size': {'key': 'size', 'type': 'long'},
'url': {'key': 'url', 'type': 'str'}
}
def __init__(self, action_path=None, id=None, iteration_id=None, name=None, size=None, url=None):
super(TestCaseResultAttachmentModel, self).__init__()
self.action_path = action_path
self.id = id
self.iteration_id = iteration_id
self.name = name
self.size = size
self.url = url
class TestCaseResultIdentifier(Model):
"""TestCaseResultIdentifier.
:param test_result_id: Test result ID.
:type test_result_id: int
:param test_run_id: Test run ID.
:type test_run_id: int
"""
_attribute_map = {
'test_result_id': {'key': 'testResultId', 'type': 'int'},
'test_run_id': {'key': 'testRunId', 'type': 'int'}
}
def __init__(self, test_result_id=None, test_run_id=None):
super(TestCaseResultIdentifier, self).__init__()
self.test_result_id = test_result_id
self.test_run_id = test_run_id
class TestCaseResultUpdateModel(Model):
"""TestCaseResultUpdateModel.
:param associated_work_items:
:type associated_work_items: list of int
:param automated_test_type_id:
:type automated_test_type_id: str
:param comment:
:type comment: str
:param completed_date:
:type completed_date: str
:param computer_name:
:type computer_name: str
:param custom_fields:
:type custom_fields: list of :class:`CustomTestField <azure.devops.v5_0.test.models.CustomTestField>`
:param duration_in_ms:
:type duration_in_ms: str
:param error_message:
:type error_message: str
:param failure_type:
:type failure_type: str
:param outcome:
:type outcome: str
:param owner:
:type owner: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
:param resolution_state:
:type resolution_state: str
:param run_by:
:type run_by: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
:param stack_trace:
:type stack_trace: str
:param started_date:
:type started_date: str
:param state:
:type state: str
:param test_case_priority:
:type test_case_priority: str
:param test_result:
:type test_result: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
"""
_attribute_map = {
'associated_work_items': {'key': 'associatedWorkItems', 'type': '[int]'},
'automated_test_type_id': {'key': 'automatedTestTypeId', 'type': 'str'},
'comment': {'key': 'comment', 'type': 'str'},
'completed_date': {'key': 'completedDate', 'type': 'str'},
'computer_name': {'key': 'computerName', 'type': 'str'},
'custom_fields': {'key': 'customFields', 'type': '[CustomTestField]'},
'duration_in_ms': {'key': 'durationInMs', 'type': 'str'},
'error_message': {'key': 'errorMessage', 'type': 'str'},
'failure_type': {'key': 'failureType', 'type': 'str'},
'outcome': {'key': 'outcome', 'type': 'str'},
'owner': {'key': 'owner', 'type': 'IdentityRef'},
'resolution_state': {'key': 'resolutionState', 'type': 'str'},
'run_by': {'key': 'runBy', 'type': 'IdentityRef'},
'stack_trace': {'key': 'stackTrace', 'type': 'str'},
'started_date': {'key': 'startedDate', 'type': 'str'},
'state': {'key': 'state', 'type': 'str'},
'test_case_priority': {'key': 'testCasePriority', 'type': 'str'},
'test_result': {'key': 'testResult', 'type': 'ShallowReference'}
}
def __init__(self, associated_work_items=None, automated_test_type_id=None, comment=None, completed_date=None, computer_name=None, custom_fields=None, duration_in_ms=None, error_message=None, failure_type=None, outcome=None, owner=None, resolution_state=None, run_by=None, stack_trace=None, started_date=None, state=None, test_case_priority=None, test_result=None):
super(TestCaseResultUpdateModel, self).__init__()
self.associated_work_items = associated_work_items
self.automated_test_type_id = automated_test_type_id
self.comment = comment
self.completed_date = completed_date
self.computer_name = computer_name
self.custom_fields = custom_fields
self.duration_in_ms = duration_in_ms
self.error_message = error_message
self.failure_type = failure_type
self.outcome = outcome
self.owner = owner
self.resolution_state = resolution_state
self.run_by = run_by
self.stack_trace = stack_trace
self.started_date = started_date
self.state = state
self.test_case_priority = test_case_priority
self.test_result = test_result
class TestConfiguration(Model):
"""TestConfiguration.
:param area: Area of the configuration
:type area: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param description: Description of the configuration
:type description: str
:param id: Id of the configuration
:type id: int
:param is_default: Is the configuration a default for the test plans
:type is_default: bool
:param last_updated_by: Last Updated By Reference
:type last_updated_by: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
:param last_updated_date: Last Updated Data
:type last_updated_date: datetime
:param name: Name of the configuration
:type name: str
:param project: Project to which the configuration belongs
:type project: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param revision: Revision of the the configuration
:type revision: int
:param state: State of the configuration
:type state: object
:param url: Url of Configuration Resource
:type url: str
:param values: Dictionary of Test Variable, Selected Value
:type values: list of :class:`NameValuePair <azure.devops.v5_0.test.models.NameValuePair>`
"""
_attribute_map = {
'area': {'key': 'area', 'type': 'ShallowReference'},
'description': {'key': 'description', 'type': 'str'},
'id': {'key': 'id', 'type': 'int'},
'is_default': {'key': 'isDefault', 'type': 'bool'},
'last_updated_by': {'key': 'lastUpdatedBy', 'type': 'IdentityRef'},
'last_updated_date': {'key': 'lastUpdatedDate', 'type': 'iso-8601'},
'name': {'key': 'name', 'type': 'str'},
'project': {'key': 'project', 'type': 'ShallowReference'},
'revision': {'key': 'revision', 'type': 'int'},
'state': {'key': 'state', 'type': 'object'},
'url': {'key': 'url', 'type': 'str'},
'values': {'key': 'values', 'type': '[NameValuePair]'}
}
def __init__(self, area=None, description=None, id=None, is_default=None, last_updated_by=None, last_updated_date=None, name=None, project=None, revision=None, state=None, url=None, values=None):
super(TestConfiguration, self).__init__()
self.area = area
self.description = description
self.id = id
self.is_default = is_default
self.last_updated_by = last_updated_by
self.last_updated_date = last_updated_date
self.name = name
self.project = project
self.revision = revision
self.state = state
self.url = url
self.values = values
class TestEnvironment(Model):
"""TestEnvironment.
:param environment_id:
:type environment_id: str
:param environment_name:
:type environment_name: str
"""
_attribute_map = {
'environment_id': {'key': 'environmentId', 'type': 'str'},
'environment_name': {'key': 'environmentName', 'type': 'str'}
}
def __init__(self, environment_id=None, environment_name=None):
super(TestEnvironment, self).__init__()
self.environment_id = environment_id
self.environment_name = environment_name
class TestFailureDetails(Model):
"""TestFailureDetails.
:param count:
:type count: int
:param test_results:
:type test_results: list of :class:`TestCaseResultIdentifier <azure.devops.v5_0.test.models.TestCaseResultIdentifier>`
"""
_attribute_map = {
'count': {'key': 'count', 'type': 'int'},
'test_results': {'key': 'testResults', 'type': '[TestCaseResultIdentifier]'}
}
def __init__(self, count=None, test_results=None):
super(TestFailureDetails, self).__init__()
self.count = count
self.test_results = test_results
class TestFailuresAnalysis(Model):
"""TestFailuresAnalysis.
:param existing_failures:
:type existing_failures: :class:`TestFailureDetails <azure.devops.v5_0.test.models.TestFailureDetails>`
:param fixed_tests:
:type fixed_tests: :class:`TestFailureDetails <azure.devops.v5_0.test.models.TestFailureDetails>`
:param new_failures:
:type new_failures: :class:`TestFailureDetails <azure.devops.v5_0.test.models.TestFailureDetails>`
:param previous_context:
:type previous_context: :class:`TestResultsContext <azure.devops.v5_0.test.models.TestResultsContext>`
"""
_attribute_map = {
'existing_failures': {'key': 'existingFailures', 'type': 'TestFailureDetails'},
'fixed_tests': {'key': 'fixedTests', 'type': 'TestFailureDetails'},
'new_failures': {'key': 'newFailures', 'type': 'TestFailureDetails'},
'previous_context': {'key': 'previousContext', 'type': 'TestResultsContext'}
}
def __init__(self, existing_failures=None, fixed_tests=None, new_failures=None, previous_context=None):
super(TestFailuresAnalysis, self).__init__()
self.existing_failures = existing_failures
self.fixed_tests = fixed_tests
self.new_failures = new_failures
self.previous_context = previous_context
class TestHistoryQuery(Model):
"""TestHistoryQuery.
:param automated_test_name: Automated test name of the TestCase.
:type automated_test_name: str
:param branch: Results to be get for a particular branches.
:type branch: str
:param build_definition_id: Get the results history only for this BuildDefinationId. This to get used in query GroupBy should be Branch. If this is provided, Branch will have no use.
:type build_definition_id: int
:param continuation_token: It will be filled by server. If not null means there are some results still to be get, and we need to call this REST API with this ContinuousToken. It is not supposed to be created (or altered, if received from server in last batch) by user.
:type continuation_token: str
:param group_by: Group the result on the basis of TestResultGroupBy. This can be Branch, Environment or null(if results are fetched by BuildDefinitionId)
:type group_by: object
:param max_complete_date: History to get between time interval MaxCompleteDate and (MaxCompleteDate - TrendDays). Default is current date time.
:type max_complete_date: datetime
:param release_env_definition_id: Get the results history only for this ReleaseEnvDefinitionId. This to get used in query GroupBy should be Environment.
:type release_env_definition_id: int
:param results_for_group: List of TestResultHistoryForGroup which are grouped by GroupBy
:type results_for_group: list of :class:`TestResultHistoryForGroup <azure.devops.v5_0.test.models.TestResultHistoryForGroup>`
:param trend_days: Number of days for which history to collect. Maximum supported value is 7 days. Default is 7 days.
:type trend_days: int
"""
_attribute_map = {
'automated_test_name': {'key': 'automatedTestName', 'type': 'str'},
'branch': {'key': 'branch', 'type': 'str'},
'build_definition_id': {'key': 'buildDefinitionId', 'type': 'int'},
'continuation_token': {'key': 'continuationToken', 'type': 'str'},
'group_by': {'key': 'groupBy', 'type': 'object'},
'max_complete_date': {'key': 'maxCompleteDate', 'type': 'iso-8601'},
'release_env_definition_id': {'key': 'releaseEnvDefinitionId', 'type': 'int'},
'results_for_group': {'key': 'resultsForGroup', 'type': '[TestResultHistoryForGroup]'},
'trend_days': {'key': 'trendDays', 'type': 'int'}
}
def __init__(self, automated_test_name=None, branch=None, build_definition_id=None, continuation_token=None, group_by=None, max_complete_date=None, release_env_definition_id=None, results_for_group=None, trend_days=None):
super(TestHistoryQuery, self).__init__()
self.automated_test_name = automated_test_name
self.branch = branch
self.build_definition_id = build_definition_id
self.continuation_token = continuation_token
self.group_by = group_by
self.max_complete_date = max_complete_date
self.release_env_definition_id = release_env_definition_id
self.results_for_group = results_for_group
self.trend_days = trend_days
class TestIterationDetailsModel(Model):
"""TestIterationDetailsModel.
:param action_results: Test step results in an iteration.
:type action_results: list of :class:`TestActionResultModel <azure.devops.v5_0.test.models.TestActionResultModel>`
:param attachments: Refence to attachments in test iteration result.
:type attachments: list of :class:`TestCaseResultAttachmentModel <azure.devops.v5_0.test.models.TestCaseResultAttachmentModel>`
:param comment: Comment in test iteration result.
:type comment: str
:param completed_date: Time when execution completed.
:type completed_date: datetime
:param duration_in_ms: Duration of execution.
:type duration_in_ms: float
:param error_message: Error message in test iteration result execution.
:type error_message: str
:param id: ID of test iteration result.
:type id: int
:param outcome: Test outcome if test iteration result.
:type outcome: str
:param parameters: Test parameters in an iteration.
:type parameters: list of :class:`TestResultParameterModel <azure.devops.v5_0.test.models.TestResultParameterModel>`
:param started_date: Time when execution started.
:type started_date: datetime
:param url: Url to test iteration result.
:type url: str
"""
_attribute_map = {
'action_results': {'key': 'actionResults', 'type': '[TestActionResultModel]'},
'attachments': {'key': 'attachments', 'type': '[TestCaseResultAttachmentModel]'},
'comment': {'key': 'comment', 'type': 'str'},
'completed_date': {'key': 'completedDate', 'type': 'iso-8601'},
'duration_in_ms': {'key': 'durationInMs', 'type': 'float'},
'error_message': {'key': 'errorMessage', 'type': 'str'},
'id': {'key': 'id', 'type': 'int'},
'outcome': {'key': 'outcome', 'type': 'str'},
'parameters': {'key': 'parameters', 'type': '[TestResultParameterModel]'},
'started_date': {'key': 'startedDate', 'type': 'iso-8601'},
'url': {'key': 'url', 'type': 'str'}
}
def __init__(self, action_results=None, attachments=None, comment=None, completed_date=None, duration_in_ms=None, error_message=None, id=None, outcome=None, parameters=None, started_date=None, url=None):
super(TestIterationDetailsModel, self).__init__()
self.action_results = action_results
self.attachments = attachments
self.comment = comment
self.completed_date = completed_date
self.duration_in_ms = duration_in_ms
self.error_message = error_message
self.id = id
self.outcome = outcome
self.parameters = parameters
self.started_date = started_date
self.url = url
class TestMessageLogDetails(Model):
"""TestMessageLogDetails.
:param date_created: Date when the resource is created
:type date_created: datetime
:param entry_id: Id of the resource
:type entry_id: int
:param message: Message of the resource
:type message: str
"""
_attribute_map = {
'date_created': {'key': 'dateCreated', 'type': 'iso-8601'},
'entry_id': {'key': 'entryId', 'type': 'int'},
'message': {'key': 'message', 'type': 'str'}
}
def __init__(self, date_created=None, entry_id=None, message=None):
super(TestMessageLogDetails, self).__init__()
self.date_created = date_created
self.entry_id = entry_id
self.message = message
class TestMethod(Model):
"""TestMethod.
:param container:
:type container: str
:param name:
:type name: str
"""
_attribute_map = {
'container': {'key': 'container', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'}
}
def __init__(self, container=None, name=None):
super(TestMethod, self).__init__()
self.container = container
self.name = name
class TestOperationReference(Model):
"""TestOperationReference.
:param id:
:type id: str
:param status:
:type status: str
:param url:
:type url: str
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'status': {'key': 'status', 'type': 'str'},
'url': {'key': 'url', 'type': 'str'}
}
def __init__(self, id=None, status=None, url=None):
super(TestOperationReference, self).__init__()
self.id = id
self.status = status
self.url = url
class TestOutcomeSettings(Model):
"""TestOutcomeSettings.
:param sync_outcome_across_suites: Value to configure how test outcomes for the same tests across suites are shown
:type sync_outcome_across_suites: bool
"""
_attribute_map = {
'sync_outcome_across_suites': {'key': 'syncOutcomeAcrossSuites', 'type': 'bool'}
}
def __init__(self, sync_outcome_across_suites=None):
super(TestOutcomeSettings, self).__init__()
self.sync_outcome_across_suites = sync_outcome_across_suites
class TestPlan(Model):
"""TestPlan.
:param area: Area of the test plan.
:type area: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param automated_test_environment:
:type automated_test_environment: :class:`TestEnvironment <azure.devops.v5_0.test.models.TestEnvironment>`
:param automated_test_settings:
:type automated_test_settings: :class:`TestSettings <azure.devops.v5_0.test.models.TestSettings>`
:param build: Build to be tested.
:type build: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param build_definition: The Build Definition that generates a build associated with this test plan.
:type build_definition: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param client_url:
:type client_url: str
:param description: Description of the test plan.
:type description: str
:param end_date: End date for the test plan.
:type end_date: datetime
:param id: ID of the test plan.
:type id: int
:param iteration: Iteration path of the test plan.
:type iteration: str
:param manual_test_environment:
:type manual_test_environment: :class:`TestEnvironment <azure.devops.v5_0.test.models.TestEnvironment>`
:param manual_test_settings:
:type manual_test_settings: :class:`TestSettings <azure.devops.v5_0.test.models.TestSettings>`
:param name: Name of the test plan.
:type name: str
:param owner: Owner of the test plan.
:type owner: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
:param previous_build:
:type previous_build: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param project: Project which contains the test plan.
:type project: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param release_environment_definition: Release Environment to be used to deploy the build and run automated tests from this test plan.
:type release_environment_definition: :class:`ReleaseEnvironmentDefinitionReference <azure.devops.v5_0.test.models.ReleaseEnvironmentDefinitionReference>`
:param revision: Revision of the test plan.
:type revision: int
:param root_suite: Root test suite of the test plan.
:type root_suite: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param start_date: Start date for the test plan.
:type start_date: datetime
:param state: State of the test plan.
:type state: str
:param test_outcome_settings: Value to configure how same tests across test suites under a test plan need to behave
:type test_outcome_settings: :class:`TestOutcomeSettings <azure.devops.v5_0.test.models.TestOutcomeSettings>`
:param updated_by:
:type updated_by: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
:param updated_date:
:type updated_date: datetime
:param url: URL of the test plan resource.
:type url: str
"""
_attribute_map = {
'area': {'key': 'area', 'type': 'ShallowReference'},
'automated_test_environment': {'key': 'automatedTestEnvironment', 'type': 'TestEnvironment'},
'automated_test_settings': {'key': 'automatedTestSettings', 'type': 'TestSettings'},
'build': {'key': 'build', 'type': 'ShallowReference'},
'build_definition': {'key': 'buildDefinition', 'type': 'ShallowReference'},
'client_url': {'key': 'clientUrl', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'end_date': {'key': 'endDate', 'type': 'iso-8601'},
'id': {'key': 'id', 'type': 'int'},
'iteration': {'key': 'iteration', 'type': 'str'},
'manual_test_environment': {'key': 'manualTestEnvironment', 'type': 'TestEnvironment'},
'manual_test_settings': {'key': 'manualTestSettings', 'type': 'TestSettings'},
'name': {'key': 'name', 'type': 'str'},
'owner': {'key': 'owner', 'type': 'IdentityRef'},
'previous_build': {'key': 'previousBuild', 'type': 'ShallowReference'},
'project': {'key': 'project', 'type': 'ShallowReference'},
'release_environment_definition': {'key': 'releaseEnvironmentDefinition', 'type': 'ReleaseEnvironmentDefinitionReference'},
'revision': {'key': 'revision', 'type': 'int'},
'root_suite': {'key': 'rootSuite', 'type': 'ShallowReference'},
'start_date': {'key': 'startDate', 'type': 'iso-8601'},
'state': {'key': 'state', 'type': 'str'},
'test_outcome_settings': {'key': 'testOutcomeSettings', 'type': 'TestOutcomeSettings'},
'updated_by': {'key': 'updatedBy', 'type': 'IdentityRef'},
'updated_date': {'key': 'updatedDate', 'type': 'iso-8601'},
'url': {'key': 'url', 'type': 'str'}
}
def __init__(self, area=None, automated_test_environment=None, automated_test_settings=None, build=None, build_definition=None, client_url=None, description=None, end_date=None, id=None, iteration=None, manual_test_environment=None, manual_test_settings=None, name=None, owner=None, previous_build=None, project=None, release_environment_definition=None, revision=None, root_suite=None, start_date=None, state=None, test_outcome_settings=None, updated_by=None, updated_date=None, url=None):
super(TestPlan, self).__init__()
self.area = area
self.automated_test_environment = automated_test_environment
self.automated_test_settings = automated_test_settings
self.build = build
self.build_definition = build_definition
self.client_url = client_url
self.description = description
self.end_date = end_date
self.id = id
self.iteration = iteration
self.manual_test_environment = manual_test_environment
self.manual_test_settings = manual_test_settings
self.name = name
self.owner = owner
self.previous_build = previous_build
self.project = project
self.release_environment_definition = release_environment_definition
self.revision = revision
self.root_suite = root_suite
self.start_date = start_date
self.state = state
self.test_outcome_settings = test_outcome_settings
self.updated_by = updated_by
self.updated_date = updated_date
self.url = url
class TestPlanCloneRequest(Model):
"""TestPlanCloneRequest.
:param destination_test_plan:
:type destination_test_plan: :class:`TestPlan <azure.devops.v5_0.test.models.TestPlan>`
:param options:
:type options: :class:`CloneOptions <azure.devops.v5_0.test.models.CloneOptions>`
:param suite_ids:
:type suite_ids: list of int
"""
_attribute_map = {
'destination_test_plan': {'key': 'destinationTestPlan', 'type': 'TestPlan'},
'options': {'key': 'options', 'type': 'CloneOptions'},
'suite_ids': {'key': 'suiteIds', 'type': '[int]'}
}
def __init__(self, destination_test_plan=None, options=None, suite_ids=None):
super(TestPlanCloneRequest, self).__init__()
self.destination_test_plan = destination_test_plan
self.options = options
self.suite_ids = suite_ids
class TestPoint(Model):
"""TestPoint.
:param assigned_to: AssignedTo. Type IdentityRef.
:type assigned_to: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
:param automated: Automated.
:type automated: bool
:param comment: Comment associated with test point.
:type comment: str
:param configuration: Configuration. Type ShallowReference.
:type configuration: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param failure_type: Failure type of test point.
:type failure_type: str
:param id: ID of the test point.
:type id: int
:param last_reset_to_active: Last date when test point was reset to Active.
:type last_reset_to_active: datetime
:param last_resolution_state_id: Last resolution state id of test point.
:type last_resolution_state_id: int
:param last_result: Last result of test point. Type ShallowReference.
:type last_result: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param last_result_details: Last result details of test point. Type LastResultDetails.
:type last_result_details: :class:`LastResultDetails <azure.devops.v5_0.test.models.LastResultDetails>`
:param last_result_state: Last result state of test point.
:type last_result_state: str
:param last_run_build_number: LastRun build number of test point.
:type last_run_build_number: str
:param last_test_run: Last testRun of test point. Type ShallowReference.
:type last_test_run: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param last_updated_by: Test point last updated by. Type IdentityRef.
:type last_updated_by: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
:param last_updated_date: Last updated date of test point.
:type last_updated_date: datetime
:param outcome: Outcome of test point.
:type outcome: str
:param revision: Revision number.
:type revision: int
:param state: State of test point.
:type state: str
:param suite: Suite of test point. Type ShallowReference.
:type suite: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param test_case: TestCase associated to test point. Type WorkItemReference.
:type test_case: :class:`WorkItemReference <azure.devops.v5_0.test.models.WorkItemReference>`
:param test_plan: TestPlan of test point. Type ShallowReference.
:type test_plan: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param url: Test point Url.
:type url: str
:param work_item_properties: Work item properties of test point.
:type work_item_properties: list of object
"""
_attribute_map = {
'assigned_to': {'key': 'assignedTo', 'type': 'IdentityRef'},
'automated': {'key': 'automated', 'type': 'bool'},
'comment': {'key': 'comment', 'type': 'str'},
'configuration': {'key': 'configuration', 'type': 'ShallowReference'},
'failure_type': {'key': 'failureType', 'type': 'str'},
'id': {'key': 'id', 'type': 'int'},
'last_reset_to_active': {'key': 'lastResetToActive', 'type': 'iso-8601'},
'last_resolution_state_id': {'key': 'lastResolutionStateId', 'type': 'int'},
'last_result': {'key': 'lastResult', 'type': 'ShallowReference'},
'last_result_details': {'key': 'lastResultDetails', 'type': 'LastResultDetails'},
'last_result_state': {'key': 'lastResultState', 'type': 'str'},
'last_run_build_number': {'key': 'lastRunBuildNumber', 'type': 'str'},
'last_test_run': {'key': 'lastTestRun', 'type': 'ShallowReference'},
'last_updated_by': {'key': 'lastUpdatedBy', 'type': 'IdentityRef'},
'last_updated_date': {'key': 'lastUpdatedDate', 'type': 'iso-8601'},
'outcome': {'key': 'outcome', 'type': 'str'},
'revision': {'key': 'revision', 'type': 'int'},
'state': {'key': 'state', 'type': 'str'},
'suite': {'key': 'suite', 'type': 'ShallowReference'},
'test_case': {'key': 'testCase', 'type': 'WorkItemReference'},
'test_plan': {'key': 'testPlan', 'type': 'ShallowReference'},
'url': {'key': 'url', 'type': 'str'},
'work_item_properties': {'key': 'workItemProperties', 'type': '[object]'}
}
def __init__(self, assigned_to=None, automated=None, comment=None, configuration=None, failure_type=None, id=None, last_reset_to_active=None, last_resolution_state_id=None, last_result=None, last_result_details=None, last_result_state=None, last_run_build_number=None, last_test_run=None, last_updated_by=None, last_updated_date=None, outcome=None, revision=None, state=None, suite=None, test_case=None, test_plan=None, url=None, work_item_properties=None):
super(TestPoint, self).__init__()
self.assigned_to = assigned_to
self.automated = automated
self.comment = comment
self.configuration = configuration
self.failure_type = failure_type
self.id = id
self.last_reset_to_active = last_reset_to_active
self.last_resolution_state_id = last_resolution_state_id
self.last_result = last_result
self.last_result_details = last_result_details
self.last_result_state = last_result_state
self.last_run_build_number = last_run_build_number
self.last_test_run = last_test_run
self.last_updated_by = last_updated_by
self.last_updated_date = last_updated_date
self.outcome = outcome
self.revision = revision
self.state = state
self.suite = suite
self.test_case = test_case
self.test_plan = test_plan
self.url = url
self.work_item_properties = work_item_properties
class TestPointsQuery(Model):
"""TestPointsQuery.
:param order_by: Order by results.
:type order_by: str
:param points: List of test points
:type points: list of :class:`TestPoint <azure.devops.v5_0.test.models.TestPoint>`
:param points_filter: Filter
:type points_filter: :class:`PointsFilter <azure.devops.v5_0.test.models.PointsFilter>`
:param wit_fields: List of workitem fields to get.
:type wit_fields: list of str
"""
_attribute_map = {
'order_by': {'key': 'orderBy', 'type': 'str'},
'points': {'key': 'points', 'type': '[TestPoint]'},
'points_filter': {'key': 'pointsFilter', 'type': 'PointsFilter'},
'wit_fields': {'key': 'witFields', 'type': '[str]'}
}
def __init__(self, order_by=None, points=None, points_filter=None, wit_fields=None):
super(TestPointsQuery, self).__init__()
self.order_by = order_by
self.points = points
self.points_filter = points_filter
self.wit_fields = wit_fields
class TestResolutionState(Model):
"""TestResolutionState.
:param id:
:type id: int
:param name:
:type name: str
:param project:
:type project: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'int'},
'name': {'key': 'name', 'type': 'str'},
'project': {'key': 'project', 'type': 'ShallowReference'}
}
def __init__(self, id=None, name=None, project=None):
super(TestResolutionState, self).__init__()
self.id = id
self.name = name
self.project = project
class TestResultCreateModel(Model):
"""TestResultCreateModel.
:param area:
:type area: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param associated_work_items:
:type associated_work_items: list of int
:param automated_test_id:
:type automated_test_id: str
:param automated_test_name:
:type automated_test_name: str
:param automated_test_storage:
:type automated_test_storage: str
:param automated_test_type:
:type automated_test_type: str
:param automated_test_type_id:
:type automated_test_type_id: str
:param comment:
:type comment: str
:param completed_date:
:type completed_date: str
:param computer_name:
:type computer_name: str
:param configuration:
:type configuration: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param custom_fields:
:type custom_fields: list of :class:`CustomTestField <azure.devops.v5_0.test.models.CustomTestField>`
:param duration_in_ms:
:type duration_in_ms: str
:param error_message:
:type error_message: str
:param failure_type:
:type failure_type: str
:param outcome:
:type outcome: str
:param owner:
:type owner: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
:param resolution_state:
:type resolution_state: str
:param run_by:
:type run_by: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
:param stack_trace:
:type stack_trace: str
:param started_date:
:type started_date: str
:param state:
:type state: str
:param test_case:
:type test_case: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param test_case_priority:
:type test_case_priority: str
:param test_case_title:
:type test_case_title: str
:param test_point:
:type test_point: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
"""
_attribute_map = {
'area': {'key': 'area', 'type': 'ShallowReference'},
'associated_work_items': {'key': 'associatedWorkItems', 'type': '[int]'},
'automated_test_id': {'key': 'automatedTestId', 'type': 'str'},
'automated_test_name': {'key': 'automatedTestName', 'type': 'str'},
'automated_test_storage': {'key': 'automatedTestStorage', 'type': 'str'},
'automated_test_type': {'key': 'automatedTestType', 'type': 'str'},
'automated_test_type_id': {'key': 'automatedTestTypeId', 'type': 'str'},
'comment': {'key': 'comment', 'type': 'str'},
'completed_date': {'key': 'completedDate', 'type': 'str'},
'computer_name': {'key': 'computerName', 'type': 'str'},
'configuration': {'key': 'configuration', 'type': 'ShallowReference'},
'custom_fields': {'key': 'customFields', 'type': '[CustomTestField]'},
'duration_in_ms': {'key': 'durationInMs', 'type': 'str'},
'error_message': {'key': 'errorMessage', 'type': 'str'},
'failure_type': {'key': 'failureType', 'type': 'str'},
'outcome': {'key': 'outcome', 'type': 'str'},
'owner': {'key': 'owner', 'type': 'IdentityRef'},
'resolution_state': {'key': 'resolutionState', 'type': 'str'},
'run_by': {'key': 'runBy', 'type': 'IdentityRef'},
'stack_trace': {'key': 'stackTrace', 'type': 'str'},
'started_date': {'key': 'startedDate', 'type': 'str'},
'state': {'key': 'state', 'type': 'str'},
'test_case': {'key': 'testCase', 'type': 'ShallowReference'},
'test_case_priority': {'key': 'testCasePriority', 'type': 'str'},
'test_case_title': {'key': 'testCaseTitle', 'type': 'str'},
'test_point': {'key': 'testPoint', 'type': 'ShallowReference'}
}
def __init__(self, area=None, associated_work_items=None, automated_test_id=None, automated_test_name=None, automated_test_storage=None, automated_test_type=None, automated_test_type_id=None, comment=None, completed_date=None, computer_name=None, configuration=None, custom_fields=None, duration_in_ms=None, error_message=None, failure_type=None, outcome=None, owner=None, resolution_state=None, run_by=None, stack_trace=None, started_date=None, state=None, test_case=None, test_case_priority=None, test_case_title=None, test_point=None):
super(TestResultCreateModel, self).__init__()
self.area = area
self.associated_work_items = associated_work_items
self.automated_test_id = automated_test_id
self.automated_test_name = automated_test_name
self.automated_test_storage = automated_test_storage
self.automated_test_type = automated_test_type
self.automated_test_type_id = automated_test_type_id
self.comment = comment
self.completed_date = completed_date
self.computer_name = computer_name
self.configuration = configuration
self.custom_fields = custom_fields
self.duration_in_ms = duration_in_ms
self.error_message = error_message
self.failure_type = failure_type
self.outcome = outcome
self.owner = owner
self.resolution_state = resolution_state
self.run_by = run_by
self.stack_trace = stack_trace
self.started_date = started_date
self.state = state
self.test_case = test_case
self.test_case_priority = test_case_priority
self.test_case_title = test_case_title
self.test_point = test_point
class TestResultDocument(Model):
"""TestResultDocument.
:param operation_reference:
:type operation_reference: :class:`TestOperationReference <azure.devops.v5_0.test.models.TestOperationReference>`
:param payload:
:type payload: :class:`TestResultPayload <azure.devops.v5_0.test.models.TestResultPayload>`
"""
_attribute_map = {
'operation_reference': {'key': 'operationReference', 'type': 'TestOperationReference'},
'payload': {'key': 'payload', 'type': 'TestResultPayload'}
}
def __init__(self, operation_reference=None, payload=None):
super(TestResultDocument, self).__init__()
self.operation_reference = operation_reference
self.payload = payload
class TestResultHistory(Model):
"""TestResultHistory.
:param group_by_field:
:type group_by_field: str
:param results_for_group:
:type results_for_group: list of :class:`TestResultHistoryDetailsForGroup <azure.devops.v5_0.test.models.TestResultHistoryDetailsForGroup>`
"""
_attribute_map = {
'group_by_field': {'key': 'groupByField', 'type': 'str'},
'results_for_group': {'key': 'resultsForGroup', 'type': '[TestResultHistoryDetailsForGroup]'}
}
def __init__(self, group_by_field=None, results_for_group=None):
super(TestResultHistory, self).__init__()
self.group_by_field = group_by_field
self.results_for_group = results_for_group
class TestResultHistoryDetailsForGroup(Model):
"""TestResultHistoryDetailsForGroup.
:param group_by_value:
:type group_by_value: object
:param latest_result:
:type latest_result: :class:`TestCaseResult <azure.devops.v5_0.test.models.TestCaseResult>`
"""
_attribute_map = {
'group_by_value': {'key': 'groupByValue', 'type': 'object'},
'latest_result': {'key': 'latestResult', 'type': 'TestCaseResult'}
}
def __init__(self, group_by_value=None, latest_result=None):
super(TestResultHistoryDetailsForGroup, self).__init__()
self.group_by_value = group_by_value
self.latest_result = latest_result
class TestResultHistoryForGroup(Model):
"""TestResultHistoryForGroup.
:param display_name: Display name of the group.
:type display_name: str
:param group_by_value: Name or Id of the group identifier by which results are grouped together.
:type group_by_value: str
:param results: List of results for GroupByValue
:type results: list of :class:`TestCaseResult <azure.devops.v5_0.test.models.TestCaseResult>`
"""
_attribute_map = {
'display_name': {'key': 'displayName', 'type': 'str'},
'group_by_value': {'key': 'groupByValue', 'type': 'str'},
'results': {'key': 'results', 'type': '[TestCaseResult]'}
}
def __init__(self, display_name=None, group_by_value=None, results=None):
super(TestResultHistoryForGroup, self).__init__()
self.display_name = display_name
self.group_by_value = group_by_value
self.results = results
class TestResultMetaData(Model):
"""TestResultMetaData.
:param automated_test_name: AutomatedTestName of test result.
:type automated_test_name: str
:param automated_test_storage: AutomatedTestStorage of test result.
:type automated_test_storage: str
:param owner: Owner of test result.
:type owner: str
:param priority: Priority of test result.
:type priority: int
:param test_case_reference_id: ID of TestCaseReference.
:type test_case_reference_id: int
:param test_case_title: TestCaseTitle of test result.
:type test_case_title: str
"""
_attribute_map = {
'automated_test_name': {'key': 'automatedTestName', 'type': 'str'},
'automated_test_storage': {'key': 'automatedTestStorage', 'type': 'str'},
'owner': {'key': 'owner', 'type': 'str'},
'priority': {'key': 'priority', 'type': 'int'},
'test_case_reference_id': {'key': 'testCaseReferenceId', 'type': 'int'},
'test_case_title': {'key': 'testCaseTitle', 'type': 'str'}
}
def __init__(self, automated_test_name=None, automated_test_storage=None, owner=None, priority=None, test_case_reference_id=None, test_case_title=None):
super(TestResultMetaData, self).__init__()
self.automated_test_name = automated_test_name
self.automated_test_storage = automated_test_storage
self.owner = owner
self.priority = priority
self.test_case_reference_id = test_case_reference_id
self.test_case_title = test_case_title
class TestResultModelBase(Model):
"""TestResultModelBase.
:param comment: Comment in result.
:type comment: str
:param completed_date: Time when execution completed.
:type completed_date: datetime
:param duration_in_ms: Duration of execution.
:type duration_in_ms: float
:param error_message: Error message in result.
:type error_message: str
:param outcome: Test outcome of result.
:type outcome: str
:param started_date: Time when execution started.
:type started_date: datetime
"""
_attribute_map = {
'comment': {'key': 'comment', 'type': 'str'},
'completed_date': {'key': 'completedDate', 'type': 'iso-8601'},
'duration_in_ms': {'key': 'durationInMs', 'type': 'float'},
'error_message': {'key': 'errorMessage', 'type': 'str'},
'outcome': {'key': 'outcome', 'type': 'str'},
'started_date': {'key': 'startedDate', 'type': 'iso-8601'}
}
def __init__(self, comment=None, completed_date=None, duration_in_ms=None, error_message=None, outcome=None, started_date=None):
super(TestResultModelBase, self).__init__()
self.comment = comment
self.completed_date = completed_date
self.duration_in_ms = duration_in_ms
self.error_message = error_message
self.outcome = outcome
self.started_date = started_date
class TestResultParameterModel(Model):
"""TestResultParameterModel.
:param action_path: Test step path where parameter is referenced.
:type action_path: str
:param iteration_id: Iteration ID.
:type iteration_id: int
:param parameter_name: Name of parameter.
:type parameter_name: str
:param step_identifier: This is step Id of test case. For shared step, it is step Id of shared step in test case workitem; step Id in shared step. Example: TestCase workitem has two steps: 1) Normal step with Id = 1 2) Shared Step with Id = 2. Inside shared step: a) Normal Step with Id = 1 Value for StepIdentifier for First step: "1" Second step: "2;1"
:type step_identifier: str
:param url: Url of test parameter.
:type url: str
:param value: Value of parameter.
:type value: str
"""
_attribute_map = {
'action_path': {'key': 'actionPath', 'type': 'str'},
'iteration_id': {'key': 'iterationId', 'type': 'int'},
'parameter_name': {'key': 'parameterName', 'type': 'str'},
'step_identifier': {'key': 'stepIdentifier', 'type': 'str'},
'url': {'key': 'url', 'type': 'str'},
'value': {'key': 'value', 'type': 'str'}
}
def __init__(self, action_path=None, iteration_id=None, parameter_name=None, step_identifier=None, url=None, value=None):
super(TestResultParameterModel, self).__init__()
self.action_path = action_path
self.iteration_id = iteration_id
self.parameter_name = parameter_name
self.step_identifier = step_identifier
self.url = url
self.value = value
class TestResultPayload(Model):
"""TestResultPayload.
:param comment:
:type comment: str
:param name:
:type name: str
:param stream:
:type stream: str
"""
_attribute_map = {
'comment': {'key': 'comment', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'stream': {'key': 'stream', 'type': 'str'}
}
def __init__(self, comment=None, name=None, stream=None):
super(TestResultPayload, self).__init__()
self.comment = comment
self.name = name
self.stream = stream
class TestResultsContext(Model):
"""TestResultsContext.
:param build:
:type build: :class:`BuildReference <azure.devops.v5_0.test.models.BuildReference>`
:param context_type:
:type context_type: object
:param release:
:type release: :class:`ReleaseReference <azure.devops.v5_0.test.models.ReleaseReference>`
"""
_attribute_map = {
'build': {'key': 'build', 'type': 'BuildReference'},
'context_type': {'key': 'contextType', 'type': 'object'},
'release': {'key': 'release', 'type': 'ReleaseReference'}
}
def __init__(self, build=None, context_type=None, release=None):
super(TestResultsContext, self).__init__()
self.build = build
self.context_type = context_type
self.release = release
class TestResultsDetails(Model):
"""TestResultsDetails.
:param group_by_field:
:type group_by_field: str
:param results_for_group:
:type results_for_group: list of :class:`TestResultsDetailsForGroup <azure.devops.v5_0.test.models.TestResultsDetailsForGroup>`
"""
_attribute_map = {
'group_by_field': {'key': 'groupByField', 'type': 'str'},
'results_for_group': {'key': 'resultsForGroup', 'type': '[TestResultsDetailsForGroup]'}
}
def __init__(self, group_by_field=None, results_for_group=None):
super(TestResultsDetails, self).__init__()
self.group_by_field = group_by_field
self.results_for_group = results_for_group
class TestResultsDetailsForGroup(Model):
"""TestResultsDetailsForGroup.
:param group_by_value:
:type group_by_value: object
:param results:
:type results: list of :class:`TestCaseResult <azure.devops.v5_0.test.models.TestCaseResult>`
:param results_count_by_outcome:
:type results_count_by_outcome: dict
"""
_attribute_map = {
'group_by_value': {'key': 'groupByValue', 'type': 'object'},
'results': {'key': 'results', 'type': '[TestCaseResult]'},
'results_count_by_outcome': {'key': 'resultsCountByOutcome', 'type': '{AggregatedResultsByOutcome}'}
}
def __init__(self, group_by_value=None, results=None, results_count_by_outcome=None):
super(TestResultsDetailsForGroup, self).__init__()
self.group_by_value = group_by_value
self.results = results
self.results_count_by_outcome = results_count_by_outcome
class TestResultsGroupsForBuild(Model):
"""TestResultsGroupsForBuild.
:param build_id: BuildId for which groupby result is fetched.
:type build_id: int
:param fields: The group by results
:type fields: list of :class:`FieldDetailsForTestResults <azure.devops.v5_0.test.models.FieldDetailsForTestResults>`
"""
_attribute_map = {
'build_id': {'key': 'buildId', 'type': 'int'},
'fields': {'key': 'fields', 'type': '[FieldDetailsForTestResults]'}
}
def __init__(self, build_id=None, fields=None):
super(TestResultsGroupsForBuild, self).__init__()
self.build_id = build_id
self.fields = fields
class TestResultsGroupsForRelease(Model):
"""TestResultsGroupsForRelease.
:param fields: The group by results
:type fields: list of :class:`FieldDetailsForTestResults <azure.devops.v5_0.test.models.FieldDetailsForTestResults>`
:param release_env_id: Release Environment Id for which groupby result is fetched.
:type release_env_id: int
:param release_id: ReleaseId for which groupby result is fetched.
:type release_id: int
"""
_attribute_map = {
'fields': {'key': 'fields', 'type': '[FieldDetailsForTestResults]'},
'release_env_id': {'key': 'releaseEnvId', 'type': 'int'},
'release_id': {'key': 'releaseId', 'type': 'int'}
}
def __init__(self, fields=None, release_env_id=None, release_id=None):
super(TestResultsGroupsForRelease, self).__init__()
self.fields = fields
self.release_env_id = release_env_id
self.release_id = release_id
class TestResultsQuery(Model):
"""TestResultsQuery.
:param fields:
:type fields: list of str
:param results:
:type results: list of :class:`TestCaseResult <azure.devops.v5_0.test.models.TestCaseResult>`
:param results_filter:
:type results_filter: :class:`ResultsFilter <azure.devops.v5_0.test.models.ResultsFilter>`
"""
_attribute_map = {
'fields': {'key': 'fields', 'type': '[str]'},
'results': {'key': 'results', 'type': '[TestCaseResult]'},
'results_filter': {'key': 'resultsFilter', 'type': 'ResultsFilter'}
}
def __init__(self, fields=None, results=None, results_filter=None):
super(TestResultsQuery, self).__init__()
self.fields = fields
self.results = results
self.results_filter = results_filter
class TestResultSummary(Model):
"""TestResultSummary.
:param aggregated_results_analysis:
:type aggregated_results_analysis: :class:`AggregatedResultsAnalysis <azure.devops.v5_0.test.models.AggregatedResultsAnalysis>`
:param team_project:
:type team_project: :class:`TeamProjectReference <azure.devops.v5_0.test.models.TeamProjectReference>`
:param test_failures:
:type test_failures: :class:`TestFailuresAnalysis <azure.devops.v5_0.test.models.TestFailuresAnalysis>`
:param test_results_context:
:type test_results_context: :class:`TestResultsContext <azure.devops.v5_0.test.models.TestResultsContext>`
"""
_attribute_map = {
'aggregated_results_analysis': {'key': 'aggregatedResultsAnalysis', 'type': 'AggregatedResultsAnalysis'},
'team_project': {'key': 'teamProject', 'type': 'TeamProjectReference'},
'test_failures': {'key': 'testFailures', 'type': 'TestFailuresAnalysis'},
'test_results_context': {'key': 'testResultsContext', 'type': 'TestResultsContext'}
}
def __init__(self, aggregated_results_analysis=None, team_project=None, test_failures=None, test_results_context=None):
super(TestResultSummary, self).__init__()
self.aggregated_results_analysis = aggregated_results_analysis
self.team_project = team_project
self.test_failures = test_failures
self.test_results_context = test_results_context
class TestResultTrendFilter(Model):
"""TestResultTrendFilter.
:param branch_names:
:type branch_names: list of str
:param build_count:
:type build_count: int
:param definition_ids:
:type definition_ids: list of int
:param env_definition_ids:
:type env_definition_ids: list of int
:param max_complete_date:
:type max_complete_date: datetime
:param publish_context:
:type publish_context: str
:param test_run_titles:
:type test_run_titles: list of str
:param trend_days:
:type trend_days: int
"""
_attribute_map = {
'branch_names': {'key': 'branchNames', 'type': '[str]'},
'build_count': {'key': 'buildCount', 'type': 'int'},
'definition_ids': {'key': 'definitionIds', 'type': '[int]'},
'env_definition_ids': {'key': 'envDefinitionIds', 'type': '[int]'},
'max_complete_date': {'key': 'maxCompleteDate', 'type': 'iso-8601'},
'publish_context': {'key': 'publishContext', 'type': 'str'},
'test_run_titles': {'key': 'testRunTitles', 'type': '[str]'},
'trend_days': {'key': 'trendDays', 'type': 'int'}
}
def __init__(self, branch_names=None, build_count=None, definition_ids=None, env_definition_ids=None, max_complete_date=None, publish_context=None, test_run_titles=None, trend_days=None):
super(TestResultTrendFilter, self).__init__()
self.branch_names = branch_names
self.build_count = build_count
self.definition_ids = definition_ids
self.env_definition_ids = env_definition_ids
self.max_complete_date = max_complete_date
self.publish_context = publish_context
self.test_run_titles = test_run_titles
self.trend_days = trend_days
class TestRun(Model):
"""TestRun.
:param build: Build associated with this test run.
:type build: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param build_configuration: Build configuration details associated with this test run.
:type build_configuration: :class:`BuildConfiguration <azure.devops.v5_0.test.models.BuildConfiguration>`
:param comment: Comments entered by those analyzing the run.
:type comment: str
:param completed_date: Completed date time of the run.
:type completed_date: datetime
:param controller:
:type controller: str
:param created_date:
:type created_date: datetime
:param custom_fields:
:type custom_fields: list of :class:`CustomTestField <azure.devops.v5_0.test.models.CustomTestField>`
:param drop_location:
:type drop_location: str
:param dtl_aut_environment:
:type dtl_aut_environment: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param dtl_environment:
:type dtl_environment: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param dtl_environment_creation_details:
:type dtl_environment_creation_details: :class:`DtlEnvironmentDetails <azure.devops.v5_0.test.models.DtlEnvironmentDetails>`
:param due_date: Due date and time for test run.
:type due_date: datetime
:param error_message: Error message associated with the run.
:type error_message: str
:param filter:
:type filter: :class:`RunFilter <azure.devops.v5_0.test.models.RunFilter>`
:param id: ID of the test run.
:type id: int
:param incomplete_tests:
:type incomplete_tests: int
:param is_automated: true if test run is automated, false otherwise.
:type is_automated: bool
:param iteration: The iteration to which the run belongs.
:type iteration: str
:param last_updated_by: Team foundation ID of the last updated the test run.
:type last_updated_by: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
:param last_updated_date: Last updated date and time
:type last_updated_date: datetime
:param name: Name of the test run.
:type name: str
:param not_applicable_tests:
:type not_applicable_tests: int
:param owner: Team Foundation ID of the owner of the runs.
:type owner: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
:param passed_tests: Number of passed tests in the run
:type passed_tests: int
:param phase:
:type phase: str
:param plan: Test plan associated with this test run.
:type plan: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param post_process_state:
:type post_process_state: str
:param project: Project associated with this run.
:type project: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param release:
:type release: :class:`ReleaseReference <azure.devops.v5_0.test.models.ReleaseReference>`
:param release_environment_uri:
:type release_environment_uri: str
:param release_uri:
:type release_uri: str
:param revision:
:type revision: int
:param run_statistics:
:type run_statistics: list of :class:`RunStatistic <azure.devops.v5_0.test.models.RunStatistic>`
:param started_date: Start date time of the run.
:type started_date: datetime
:param state: The state of the run. { NotStarted, InProgress, Waiting }
:type state: str
:param substate:
:type substate: object
:param test_environment: Test environment associated with the run.
:type test_environment: :class:`TestEnvironment <azure.devops.v5_0.test.models.TestEnvironment>`
:param test_message_log_id:
:type test_message_log_id: int
:param test_settings:
:type test_settings: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param total_tests: Total tests in the run
:type total_tests: int
:param unanalyzed_tests:
:type unanalyzed_tests: int
:param url: Url of the test run
:type url: str
:param web_access_url:
:type web_access_url: str
"""
_attribute_map = {
'build': {'key': 'build', 'type': 'ShallowReference'},
'build_configuration': {'key': 'buildConfiguration', 'type': 'BuildConfiguration'},
'comment': {'key': 'comment', 'type': 'str'},
'completed_date': {'key': 'completedDate', 'type': 'iso-8601'},
'controller': {'key': 'controller', 'type': 'str'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'custom_fields': {'key': 'customFields', 'type': '[CustomTestField]'},
'drop_location': {'key': 'dropLocation', 'type': 'str'},
'dtl_aut_environment': {'key': 'dtlAutEnvironment', 'type': 'ShallowReference'},
'dtl_environment': {'key': 'dtlEnvironment', 'type': 'ShallowReference'},
'dtl_environment_creation_details': {'key': 'dtlEnvironmentCreationDetails', 'type': 'DtlEnvironmentDetails'},
'due_date': {'key': 'dueDate', 'type': 'iso-8601'},
'error_message': {'key': 'errorMessage', 'type': 'str'},
'filter': {'key': 'filter', 'type': 'RunFilter'},
'id': {'key': 'id', 'type': 'int'},
'incomplete_tests': {'key': 'incompleteTests', 'type': 'int'},
'is_automated': {'key': 'isAutomated', 'type': 'bool'},
'iteration': {'key': 'iteration', 'type': 'str'},
'last_updated_by': {'key': 'lastUpdatedBy', 'type': 'IdentityRef'},
'last_updated_date': {'key': 'lastUpdatedDate', 'type': 'iso-8601'},
'name': {'key': 'name', 'type': 'str'},
'not_applicable_tests': {'key': 'notApplicableTests', 'type': 'int'},
'owner': {'key': 'owner', 'type': 'IdentityRef'},
'passed_tests': {'key': 'passedTests', 'type': 'int'},
'phase': {'key': 'phase', 'type': 'str'},
'plan': {'key': 'plan', 'type': 'ShallowReference'},
'post_process_state': {'key': 'postProcessState', 'type': 'str'},
'project': {'key': 'project', 'type': 'ShallowReference'},
'release': {'key': 'release', 'type': 'ReleaseReference'},
'release_environment_uri': {'key': 'releaseEnvironmentUri', 'type': 'str'},
'release_uri': {'key': 'releaseUri', 'type': 'str'},
'revision': {'key': 'revision', 'type': 'int'},
'run_statistics': {'key': 'runStatistics', 'type': '[RunStatistic]'},
'started_date': {'key': 'startedDate', 'type': 'iso-8601'},
'state': {'key': 'state', 'type': 'str'},
'substate': {'key': 'substate', 'type': 'object'},
'test_environment': {'key': 'testEnvironment', 'type': 'TestEnvironment'},
'test_message_log_id': {'key': 'testMessageLogId', 'type': 'int'},
'test_settings': {'key': 'testSettings', 'type': 'ShallowReference'},
'total_tests': {'key': 'totalTests', 'type': 'int'},
'unanalyzed_tests': {'key': 'unanalyzedTests', 'type': 'int'},
'url': {'key': 'url', 'type': 'str'},
'web_access_url': {'key': 'webAccessUrl', 'type': 'str'}
}
def __init__(self, build=None, build_configuration=None, comment=None, completed_date=None, controller=None, created_date=None, custom_fields=None, drop_location=None, dtl_aut_environment=None, dtl_environment=None, dtl_environment_creation_details=None, due_date=None, error_message=None, filter=None, id=None, incomplete_tests=None, is_automated=None, iteration=None, last_updated_by=None, last_updated_date=None, name=None, not_applicable_tests=None, owner=None, passed_tests=None, phase=None, plan=None, post_process_state=None, project=None, release=None, release_environment_uri=None, release_uri=None, revision=None, run_statistics=None, started_date=None, state=None, substate=None, test_environment=None, test_message_log_id=None, test_settings=None, total_tests=None, unanalyzed_tests=None, url=None, web_access_url=None):
super(TestRun, self).__init__()
self.build = build
self.build_configuration = build_configuration
self.comment = comment
self.completed_date = completed_date
self.controller = controller
self.created_date = created_date
self.custom_fields = custom_fields
self.drop_location = drop_location
self.dtl_aut_environment = dtl_aut_environment
self.dtl_environment = dtl_environment
self.dtl_environment_creation_details = dtl_environment_creation_details
self.due_date = due_date
self.error_message = error_message
self.filter = filter
self.id = id
self.incomplete_tests = incomplete_tests
self.is_automated = is_automated
self.iteration = iteration
self.last_updated_by = last_updated_by
self.last_updated_date = last_updated_date
self.name = name
self.not_applicable_tests = not_applicable_tests
self.owner = owner
self.passed_tests = passed_tests
self.phase = phase
self.plan = plan
self.post_process_state = post_process_state
self.project = project
self.release = release
self.release_environment_uri = release_environment_uri
self.release_uri = release_uri
self.revision = revision
self.run_statistics = run_statistics
self.started_date = started_date
self.state = state
self.substate = substate
self.test_environment = test_environment
self.test_message_log_id = test_message_log_id
self.test_settings = test_settings
self.total_tests = total_tests
self.unanalyzed_tests = unanalyzed_tests
self.url = url
self.web_access_url = web_access_url
class TestRunCoverage(Model):
"""TestRunCoverage.
:param last_error: Last Error
:type last_error: str
:param modules: List of Modules Coverage
:type modules: list of :class:`ModuleCoverage <azure.devops.v5_0.test.models.ModuleCoverage>`
:param state: State
:type state: str
:param test_run: Reference of test Run.
:type test_run: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
"""
_attribute_map = {
'last_error': {'key': 'lastError', 'type': 'str'},
'modules': {'key': 'modules', 'type': '[ModuleCoverage]'},
'state': {'key': 'state', 'type': 'str'},
'test_run': {'key': 'testRun', 'type': 'ShallowReference'}
}
def __init__(self, last_error=None, modules=None, state=None, test_run=None):
super(TestRunCoverage, self).__init__()
self.last_error = last_error
self.modules = modules
self.state = state
self.test_run = test_run
class TestRunStatistic(Model):
"""TestRunStatistic.
:param run:
:type run: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param run_statistics:
:type run_statistics: list of :class:`RunStatistic <azure.devops.v5_0.test.models.RunStatistic>`
"""
_attribute_map = {
'run': {'key': 'run', 'type': 'ShallowReference'},
'run_statistics': {'key': 'runStatistics', 'type': '[RunStatistic]'}
}
def __init__(self, run=None, run_statistics=None):
super(TestRunStatistic, self).__init__()
self.run = run
self.run_statistics = run_statistics
class TestSession(Model):
"""TestSession.
:param area: Area path of the test session
:type area: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param comment: Comments in the test session
:type comment: str
:param end_date: Duration of the session
:type end_date: datetime
:param id: Id of the test session
:type id: int
:param last_updated_by: Last Updated By Reference
:type last_updated_by: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
:param last_updated_date: Last updated date
:type last_updated_date: datetime
:param owner: Owner of the test session
:type owner: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
:param project: Project to which the test session belongs
:type project: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param property_bag: Generic store for test session data
:type property_bag: :class:`PropertyBag <azure.devops.v5_0.test.models.PropertyBag>`
:param revision: Revision of the test session
:type revision: int
:param source: Source of the test session
:type source: object
:param start_date: Start date
:type start_date: datetime
:param state: State of the test session
:type state: object
:param title: Title of the test session
:type title: str
:param url: Url of Test Session Resource
:type url: str
"""
_attribute_map = {
'area': {'key': 'area', 'type': 'ShallowReference'},
'comment': {'key': 'comment', 'type': 'str'},
'end_date': {'key': 'endDate', 'type': 'iso-8601'},
'id': {'key': 'id', 'type': 'int'},
'last_updated_by': {'key': 'lastUpdatedBy', 'type': 'IdentityRef'},
'last_updated_date': {'key': 'lastUpdatedDate', 'type': 'iso-8601'},
'owner': {'key': 'owner', 'type': 'IdentityRef'},
'project': {'key': 'project', 'type': 'ShallowReference'},
'property_bag': {'key': 'propertyBag', 'type': 'PropertyBag'},
'revision': {'key': 'revision', 'type': 'int'},
'source': {'key': 'source', 'type': 'object'},
'start_date': {'key': 'startDate', 'type': 'iso-8601'},
'state': {'key': 'state', 'type': 'object'},
'title': {'key': 'title', 'type': 'str'},
'url': {'key': 'url', 'type': 'str'}
}
def __init__(self, area=None, comment=None, end_date=None, id=None, last_updated_by=None, last_updated_date=None, owner=None, project=None, property_bag=None, revision=None, source=None, start_date=None, state=None, title=None, url=None):
super(TestSession, self).__init__()
self.area = area
self.comment = comment
self.end_date = end_date
self.id = id
self.last_updated_by = last_updated_by
self.last_updated_date = last_updated_date
self.owner = owner
self.project = project
self.property_bag = property_bag
self.revision = revision
self.source = source
self.start_date = start_date
self.state = state
self.title = title
self.url = url
class TestSettings(Model):
"""TestSettings.
:param area_path: Area path required to create test settings
:type area_path: str
:param description: Description of the test settings. Used in create test settings.
:type description: str
:param is_public: Indicates if the tests settings is public or private.Used in create test settings.
:type is_public: bool
:param machine_roles: Xml string of machine roles. Used in create test settings.
:type machine_roles: str
:param test_settings_content: Test settings content.
:type test_settings_content: str
:param test_settings_id: Test settings id.
:type test_settings_id: int
:param test_settings_name: Test settings name.
:type test_settings_name: str
"""
_attribute_map = {
'area_path': {'key': 'areaPath', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'is_public': {'key': 'isPublic', 'type': 'bool'},
'machine_roles': {'key': 'machineRoles', 'type': 'str'},
'test_settings_content': {'key': 'testSettingsContent', 'type': 'str'},
'test_settings_id': {'key': 'testSettingsId', 'type': 'int'},
'test_settings_name': {'key': 'testSettingsName', 'type': 'str'}
}
def __init__(self, area_path=None, description=None, is_public=None, machine_roles=None, test_settings_content=None, test_settings_id=None, test_settings_name=None):
super(TestSettings, self).__init__()
self.area_path = area_path
self.description = description
self.is_public = is_public
self.machine_roles = machine_roles
self.test_settings_content = test_settings_content
self.test_settings_id = test_settings_id
self.test_settings_name = test_settings_name
class TestSubResult(Model):
"""TestSubResult.
:param comment: Comment in sub result.
:type comment: str
:param completed_date: Time when test execution completed.
:type completed_date: datetime
:param computer_name: Machine where test executed.
:type computer_name: str
:param configuration: Reference to test configuration.
:type configuration: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param custom_fields: Additional properties of sub result.
:type custom_fields: list of :class:`CustomTestField <azure.devops.v5_0.test.models.CustomTestField>`
:param display_name: Name of sub result.
:type display_name: str
:param duration_in_ms: Duration of test execution.
:type duration_in_ms: long
:param error_message: Error message in sub result.
:type error_message: str
:param id: ID of sub result.
:type id: int
:param last_updated_date: Time when result last updated.
:type last_updated_date: datetime
:param outcome: Outcome of sub result.
:type outcome: str
:param parent_id: Immediate parent ID of sub result.
:type parent_id: int
:param result_group_type: Hierarchy type of the result, default value of None means its leaf node.
:type result_group_type: object
:param sequence_id: Index number of sub result.
:type sequence_id: int
:param stack_trace: Stacktrace.
:type stack_trace: str
:param started_date: Time when test execution started.
:type started_date: datetime
:param sub_results: List of sub results inside a sub result, if ResultGroupType is not None, it holds corresponding type sub results.
:type sub_results: list of :class:`TestSubResult <azure.devops.v5_0.test.models.TestSubResult>`
:param test_result: Reference to test result.
:type test_result: :class:`TestCaseResultIdentifier <azure.devops.v5_0.test.models.TestCaseResultIdentifier>`
:param url: Url of sub result.
:type url: str
"""
_attribute_map = {
'comment': {'key': 'comment', 'type': 'str'},
'completed_date': {'key': 'completedDate', 'type': 'iso-8601'},
'computer_name': {'key': 'computerName', 'type': 'str'},
'configuration': {'key': 'configuration', 'type': 'ShallowReference'},
'custom_fields': {'key': 'customFields', 'type': '[CustomTestField]'},
'display_name': {'key': 'displayName', 'type': 'str'},
'duration_in_ms': {'key': 'durationInMs', 'type': 'long'},
'error_message': {'key': 'errorMessage', 'type': 'str'},
'id': {'key': 'id', 'type': 'int'},
'last_updated_date': {'key': 'lastUpdatedDate', 'type': 'iso-8601'},
'outcome': {'key': 'outcome', 'type': 'str'},
'parent_id': {'key': 'parentId', 'type': 'int'},
'result_group_type': {'key': 'resultGroupType', 'type': 'object'},
'sequence_id': {'key': 'sequenceId', 'type': 'int'},
'stack_trace': {'key': 'stackTrace', 'type': 'str'},
'started_date': {'key': 'startedDate', 'type': 'iso-8601'},
'sub_results': {'key': 'subResults', 'type': '[TestSubResult]'},
'test_result': {'key': 'testResult', 'type': 'TestCaseResultIdentifier'},
'url': {'key': 'url', 'type': 'str'}
}
def __init__(self, comment=None, completed_date=None, computer_name=None, configuration=None, custom_fields=None, display_name=None, duration_in_ms=None, error_message=None, id=None, last_updated_date=None, outcome=None, parent_id=None, result_group_type=None, sequence_id=None, stack_trace=None, started_date=None, sub_results=None, test_result=None, url=None):
super(TestSubResult, self).__init__()
self.comment = comment
self.completed_date = completed_date
self.computer_name = computer_name
self.configuration = configuration
self.custom_fields = custom_fields
self.display_name = display_name
self.duration_in_ms = duration_in_ms
self.error_message = error_message
self.id = id
self.last_updated_date = last_updated_date
self.outcome = outcome
self.parent_id = parent_id
self.result_group_type = result_group_type
self.sequence_id = sequence_id
self.stack_trace = stack_trace
self.started_date = started_date
self.sub_results = sub_results
self.test_result = test_result
self.url = url
class TestSuite(Model):
"""TestSuite.
:param area_uri: Area uri of the test suite.
:type area_uri: str
:param children: Child test suites of current test suite.
:type children: list of :class:`TestSuite <azure.devops.v5_0.test.models.TestSuite>`
:param default_configurations: Test suite default configuration.
:type default_configurations: list of :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param default_testers: Test suite default testers.
:type default_testers: list of :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param id: Id of test suite.
:type id: int
:param inherit_default_configurations: Default configuration was inherited or not.
:type inherit_default_configurations: bool
:param last_error: Last error for test suite.
:type last_error: str
:param last_populated_date: Last populated date.
:type last_populated_date: datetime
:param last_updated_by: IdentityRef of user who has updated test suite recently.
:type last_updated_by: :class:`IdentityRef <azure.devops.v5_0.test.models.IdentityRef>`
:param last_updated_date: Last update date.
:type last_updated_date: datetime
:param name: Name of test suite.
:type name: str
:param parent: Test suite parent shallow reference.
:type parent: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param plan: Test plan to which the test suite belongs.
:type plan: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param project: Test suite project shallow reference.
:type project: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param query_string: Test suite query string, for dynamic suites.
:type query_string: str
:param requirement_id: Test suite requirement id.
:type requirement_id: int
:param revision: Test suite revision.
:type revision: int
:param state: State of test suite.
:type state: str
:param suites: List of shallow reference of suites.
:type suites: list of :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param suite_type: Test suite type.
:type suite_type: str
:param test_case_count: Test cases count.
:type test_case_count: int
:param test_cases_url: Test case url.
:type test_cases_url: str
:param text: Used in tree view. If test suite is root suite then, it is name of plan otherwise title of the suite.
:type text: str
:param url: Url of test suite.
:type url: str
"""
_attribute_map = {
'area_uri': {'key': 'areaUri', 'type': 'str'},
'children': {'key': 'children', 'type': '[TestSuite]'},
'default_configurations': {'key': 'defaultConfigurations', 'type': '[ShallowReference]'},
'default_testers': {'key': 'defaultTesters', 'type': '[ShallowReference]'},
'id': {'key': 'id', 'type': 'int'},
'inherit_default_configurations': {'key': 'inheritDefaultConfigurations', 'type': 'bool'},
'last_error': {'key': 'lastError', 'type': 'str'},
'last_populated_date': {'key': 'lastPopulatedDate', 'type': 'iso-8601'},
'last_updated_by': {'key': 'lastUpdatedBy', 'type': 'IdentityRef'},
'last_updated_date': {'key': 'lastUpdatedDate', 'type': 'iso-8601'},
'name': {'key': 'name', 'type': 'str'},
'parent': {'key': 'parent', 'type': 'ShallowReference'},
'plan': {'key': 'plan', 'type': 'ShallowReference'},
'project': {'key': 'project', 'type': 'ShallowReference'},
'query_string': {'key': 'queryString', 'type': 'str'},
'requirement_id': {'key': 'requirementId', 'type': 'int'},
'revision': {'key': 'revision', 'type': 'int'},
'state': {'key': 'state', 'type': 'str'},
'suites': {'key': 'suites', 'type': '[ShallowReference]'},
'suite_type': {'key': 'suiteType', 'type': 'str'},
'test_case_count': {'key': 'testCaseCount', 'type': 'int'},
'test_cases_url': {'key': 'testCasesUrl', 'type': 'str'},
'text': {'key': 'text', 'type': 'str'},
'url': {'key': 'url', 'type': 'str'}
}
def __init__(self, area_uri=None, children=None, default_configurations=None, default_testers=None, id=None, inherit_default_configurations=None, last_error=None, last_populated_date=None, last_updated_by=None, last_updated_date=None, name=None, parent=None, plan=None, project=None, query_string=None, requirement_id=None, revision=None, state=None, suites=None, suite_type=None, test_case_count=None, test_cases_url=None, text=None, url=None):
super(TestSuite, self).__init__()
self.area_uri = area_uri
self.children = children
self.default_configurations = default_configurations
self.default_testers = default_testers
self.id = id
self.inherit_default_configurations = inherit_default_configurations
self.last_error = last_error
self.last_populated_date = last_populated_date
self.last_updated_by = last_updated_by
self.last_updated_date = last_updated_date
self.name = name
self.parent = parent
self.plan = plan
self.project = project
self.query_string = query_string
self.requirement_id = requirement_id
self.revision = revision
self.state = state
self.suites = suites
self.suite_type = suite_type
self.test_case_count = test_case_count
self.test_cases_url = test_cases_url
self.text = text
self.url = url
class TestSuiteCloneRequest(Model):
"""TestSuiteCloneRequest.
:param clone_options: Clone options for cloning the test suite.
:type clone_options: :class:`CloneOptions <azure.devops.v5_0.test.models.CloneOptions>`
:param destination_suite_id: Suite id under which, we have to clone the suite.
:type destination_suite_id: int
:param destination_suite_project_name: Destination suite project name.
:type destination_suite_project_name: str
"""
_attribute_map = {
'clone_options': {'key': 'cloneOptions', 'type': 'CloneOptions'},
'destination_suite_id': {'key': 'destinationSuiteId', 'type': 'int'},
'destination_suite_project_name': {'key': 'destinationSuiteProjectName', 'type': 'str'}
}
def __init__(self, clone_options=None, destination_suite_id=None, destination_suite_project_name=None):
super(TestSuiteCloneRequest, self).__init__()
self.clone_options = clone_options
self.destination_suite_id = destination_suite_id
self.destination_suite_project_name = destination_suite_project_name
class TestSummaryForWorkItem(Model):
"""TestSummaryForWorkItem.
:param summary:
:type summary: :class:`AggregatedDataForResultTrend <azure.devops.v5_0.test.models.AggregatedDataForResultTrend>`
:param work_item:
:type work_item: :class:`WorkItemReference <azure.devops.v5_0.test.models.WorkItemReference>`
"""
_attribute_map = {
'summary': {'key': 'summary', 'type': 'AggregatedDataForResultTrend'},
'work_item': {'key': 'workItem', 'type': 'WorkItemReference'}
}
def __init__(self, summary=None, work_item=None):
super(TestSummaryForWorkItem, self).__init__()
self.summary = summary
self.work_item = work_item
class TestToWorkItemLinks(Model):
"""TestToWorkItemLinks.
:param test:
:type test: :class:`TestMethod <azure.devops.v5_0.test.models.TestMethod>`
:param work_items:
:type work_items: list of :class:`WorkItemReference <azure.devops.v5_0.test.models.WorkItemReference>`
"""
_attribute_map = {
'test': {'key': 'test', 'type': 'TestMethod'},
'work_items': {'key': 'workItems', 'type': '[WorkItemReference]'}
}
def __init__(self, test=None, work_items=None):
super(TestToWorkItemLinks, self).__init__()
self.test = test
self.work_items = work_items
class TestVariable(Model):
"""TestVariable.
:param description: Description of the test variable
:type description: str
:param id: Id of the test variable
:type id: int
:param name: Name of the test variable
:type name: str
:param project: Project to which the test variable belongs
:type project: :class:`ShallowReference <azure.devops.v5_0.test.models.ShallowReference>`
:param revision: Revision
:type revision: int
:param url: Url of the test variable
:type url: str
:param values: List of allowed values
:type values: list of str
"""
_attribute_map = {
'description': {'key': 'description', 'type': 'str'},
'id': {'key': 'id', 'type': 'int'},
'name': {'key': 'name', 'type': 'str'},
'project': {'key': 'project', 'type': 'ShallowReference'},
'revision': {'key': 'revision', 'type': 'int'},
'url': {'key': 'url', 'type': 'str'},
'values': {'key': 'values', 'type': '[str]'}
}
def __init__(self, description=None, id=None, name=None, project=None, revision=None, url=None, values=None):
super(TestVariable, self).__init__()
self.description = description
self.id = id
self.name = name
self.project = project
self.revision = revision
self.url = url
self.values = values
class WorkItemReference(Model):
"""WorkItemReference.
:param id:
:type id: str
:param name:
:type name: str
:param type:
:type type: str
:param url:
:type url: str
:param web_url:
:type web_url: str
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'url': {'key': 'url', 'type': 'str'},
'web_url': {'key': 'webUrl', 'type': 'str'}
}
def __init__(self, id=None, name=None, type=None, url=None, web_url=None):
super(WorkItemReference, self).__init__()
self.id = id
self.name = name
self.type = type
self.url = url
self.web_url = web_url
class WorkItemToTestLinks(Model):
"""WorkItemToTestLinks.
:param executed_in:
:type executed_in: object
:param tests:
:type tests: list of :class:`TestMethod <azure.devops.v5_0.test.models.TestMethod>`
:param work_item:
:type work_item: :class:`WorkItemReference <azure.devops.v5_0.test.models.WorkItemReference>`
"""
_attribute_map = {
'executed_in': {'key': 'executedIn', 'type': 'object'},
'tests': {'key': 'tests', 'type': '[TestMethod]'},
'work_item': {'key': 'workItem', 'type': 'WorkItemReference'}
}
def __init__(self, executed_in=None, tests=None, work_item=None):
super(WorkItemToTestLinks, self).__init__()
self.executed_in = executed_in
self.tests = tests
self.work_item = work_item
class TestActionResultModel(TestResultModelBase):
"""TestActionResultModel.
:param comment: Comment in result.
:type comment: str
:param completed_date: Time when execution completed.
:type completed_date: datetime
:param duration_in_ms: Duration of execution.
:type duration_in_ms: float
:param error_message: Error message in result.
:type error_message: str
:param outcome: Test outcome of result.
:type outcome: str
:param started_date: Time when execution started.
:type started_date: datetime
:param action_path: Path identifier test step in test case workitem.
:type action_path: str
:param iteration_id: Iteration ID of test action result.
:type iteration_id: int
:param shared_step_model: Reference to shared step workitem.
:type shared_step_model: :class:`SharedStepModel <azure.devops.v5_0.test.models.SharedStepModel>`
:param step_identifier: This is step Id of test case. For shared step, it is step Id of shared step in test case workitem; step Id in shared step. Example: TestCase workitem has two steps: 1) Normal step with Id = 1 2) Shared Step with Id = 2. Inside shared step: a) Normal Step with Id = 1 Value for StepIdentifier for First step: "1" Second step: "2;1"
:type step_identifier: str
:param url: Url of test action result.
:type url: str
"""
_attribute_map = {
'comment': {'key': 'comment', 'type': 'str'},
'completed_date': {'key': 'completedDate', 'type': 'iso-8601'},
'duration_in_ms': {'key': 'durationInMs', 'type': 'float'},
'error_message': {'key': 'errorMessage', 'type': 'str'},
'outcome': {'key': 'outcome', 'type': 'str'},
'started_date': {'key': 'startedDate', 'type': 'iso-8601'},
'action_path': {'key': 'actionPath', 'type': 'str'},
'iteration_id': {'key': 'iterationId', 'type': 'int'},
'shared_step_model': {'key': 'sharedStepModel', 'type': 'SharedStepModel'},
'step_identifier': {'key': 'stepIdentifier', 'type': 'str'},
'url': {'key': 'url', 'type': 'str'}
}
def __init__(self, comment=None, completed_date=None, duration_in_ms=None, error_message=None, outcome=None, started_date=None, action_path=None, iteration_id=None, shared_step_model=None, step_identifier=None, url=None):
super(TestActionResultModel, self).__init__(comment=comment, completed_date=completed_date, duration_in_ms=duration_in_ms, error_message=error_message, outcome=outcome, started_date=started_date)
self.action_path = action_path
self.iteration_id = iteration_id
self.shared_step_model = shared_step_model
self.step_identifier = step_identifier
self.url = url
__all__ = [
'AggregatedDataForResultTrend',
'AggregatedResultsAnalysis',
'AggregatedResultsByOutcome',
'AggregatedResultsDifference',
'AggregatedRunsByOutcome',
'AggregatedRunsByState',
'BuildConfiguration',
'BuildCoverage',
'BuildReference',
'CloneOperationInformation',
'CloneOptions',
'CloneStatistics',
'CodeCoverageData',
'CodeCoverageStatistics',
'CodeCoverageSummary',
'CoverageStatistics',
'CustomTestField',
'CustomTestFieldDefinition',
'DtlEnvironmentDetails',
'FailingSince',
'FieldDetailsForTestResults',
'FunctionCoverage',
'GraphSubjectBase',
'IdentityRef',
'LastResultDetails',
'LinkedWorkItemsQuery',
'LinkedWorkItemsQueryResult',
'ModuleCoverage',
'NameValuePair',
'PlanUpdateModel',
'PointAssignment',
'PointsFilter',
'PointUpdateModel',
'PropertyBag',
'QueryModel',
'ReferenceLinks',
'ReleaseEnvironmentDefinitionReference',
'ReleaseReference',
'ResultRetentionSettings',
'ResultsFilter',
'RunCreateModel',
'RunFilter',
'RunStatistic',
'RunUpdateModel',
'ShallowReference',
'ShallowTestCaseResult',
'SharedStepModel',
'SuiteCreateModel',
'SuiteEntry',
'SuiteEntryUpdateModel',
'SuiteTestCase',
'SuiteTestCaseUpdateModel',
'SuiteUpdateModel',
'TeamContext',
'TeamProjectReference',
'TestAttachment',
'TestAttachmentReference',
'TestAttachmentRequestModel',
'TestCaseResult',
'TestCaseResultAttachmentModel',
'TestCaseResultIdentifier',
'TestCaseResultUpdateModel',
'TestConfiguration',
'TestEnvironment',
'TestFailureDetails',
'TestFailuresAnalysis',
'TestHistoryQuery',
'TestIterationDetailsModel',
'TestMessageLogDetails',
'TestMethod',
'TestOperationReference',
'TestOutcomeSettings',
'TestPlan',
'TestPlanCloneRequest',
'TestPoint',
'TestPointsQuery',
'TestResolutionState',
'TestResultCreateModel',
'TestResultDocument',
'TestResultHistory',
'TestResultHistoryDetailsForGroup',
'TestResultHistoryForGroup',
'TestResultMetaData',
'TestResultModelBase',
'TestResultParameterModel',
'TestResultPayload',
'TestResultsContext',
'TestResultsDetails',
'TestResultsDetailsForGroup',
'TestResultsGroupsForBuild',
'TestResultsGroupsForRelease',
'TestResultsQuery',
'TestResultSummary',
'TestResultTrendFilter',
'TestRun',
'TestRunCoverage',
'TestRunStatistic',
'TestSession',
'TestSettings',
'TestSubResult',
'TestSuite',
'TestSuiteCloneRequest',
'TestSummaryForWorkItem',
'TestToWorkItemLinks',
'TestVariable',
'WorkItemReference',
'WorkItemToTestLinks',
'TestActionResultModel',
]
|