416 | | As shown in the next figure, a chart will be displayed with statistics about all the test cases in the system and a default period of time. |
| 416 | As shown in the next figure, a chart will be displayed with statistics about all the test cases in the system and a default period of time, with more charts available in the other tabs. |
| 417 | |
| 418 | There are three charts available: |
| 419 | |
| 420 | === Test activity trend chart === |
| 421 | |
| 422 | Displays the number of test cases created during time and the trend of the test activity, in terms of test cases to be tested, successful and failed. |
422 | | '''Note:''' You will need internet connection from your client machine to be able to display this charts, since it leverages Yahoo remote charting services. |
423 | | |
424 | | [[BR]] |
425 | | [[BR]] |
426 | | [[Image(screen10.png)]] |
427 | | [[BR]][[BR]] |
| 428 | [[BR]] |
| 429 | [[BR]] |
| 430 | [[Image(screen20.png)]] |
| 431 | [[BR]] |
| 432 | '''Test activity trend chart''' |
| 433 | [[BR]] |
| 434 | |
| 435 | === Current test status chart === |
| 436 | |
| 437 | Shows the current status of the test activity for all test plans of a specific plan, displaying the number of tests that are successful, failed and yet to be tested. |
| 438 | |
| 439 | [[BR]] |
| 440 | [[BR]] |
| 441 | [[Image(screen21.png)]] |
| 442 | [[BR]] |
| 443 | '''Current test status chart''' |
| 444 | [[BR]] |
| 445 | |
| 446 | === Tickets trend chart === |
| 447 | |
| 448 | As long as [wiki:TestManagerForTracPlugin#LinkingaTickettoaTestCase tickets have been opened from the context of a test case in a plan], by means of the appropriate "Open a ticket on this test case" button, this chart shows the trend in tickets associated with all test plans or a specific plan, displaying the number of total, active (i.e. not closed) and closed tickets. |
| 449 | |
| 450 | [[BR]] |
| 451 | [[BR]] |
| 452 | [[Image(screen22.png)]] |
| 453 | [[BR]] |
| 454 | '''Tickets trend chart''' |
| 455 | [[BR]] |
| 456 | |
| 457 | === Configuration === |
| 458 | |
| 459 | '''Note:''' By default, the charts use the [http://developer.yahoo.com/yui/charts YUI library] available online at Yahoo!, so you will need internet connection from your client machines to be able to display this charts. |
| 460 | |
| 461 | Alternatively, in case you don't have internet connection, you can download the YUI library, put it somewhere on the Trac server machine where the web server can access it, and refer its location in the trac.ini as follows. |
| 462 | |
| 463 | Other options you can customize are the default period of time the charts will display, in terms of historical depth and scale. |
| 464 | |
| 465 | {{{ |
| 466 | [testmanager] |
| 467 | yui_base_url = <URL or path to the root of your YUI library> |
| 468 | default_days_back = <number of days back from today> |
| 469 | default_interval = <number of days between samples> |
| 470 | }}} |
| 471 | |
| 472 | For example: |
| 473 | |
| 474 | {{{ |
| 475 | [testmanager] |
| 476 | yui_base_url = http://yui.yahooapis.com/2.9.0 |
| 477 | default_days_back = 14 |
| 478 | default_interval = 1 |
| 479 | }}} |
| 480 | |
483 | | Both '''Trac 0.11 and 0.12 are supported''', and also both '''Python 2.5 and 2.6'''. |
484 | | |
485 | | There are '''known issues on Trac 0.11 with MySQL and PosgreSQL''', caused by lack of Trac support to the "int64" database column type. |
486 | | If you plan to work with MySQL or PosgreSQL '''you will need to run Trac 0.12.''' |
487 | | |
488 | | Hint: The database user (MySQL or PosgreSQL) must have read access to the trac.ini! |
| 536 | Both '''Trac 0.11 and 0.12 are supported''', and also '''Python 2.5, 2.6 and 2.7'''. |
| 537 | |
| 538 | There used to be '''known issues on Trac 0.11 with MySQL and PosgreSQL''' (caused by lack of Trac support to the "int64" database column type) until release 1.4.6, but now they're fixed. |
| 539 | |
| 540 | '''Note:''' If you are using '''MySQL''' or '''PosgreSQL''', the database user must have read access to the trac.ini. |