Integration with BTS - TRAC
Posted: Fri Sep 27, 2013 10:06 am
First off, I have read at least 20-25 different web pages about this issue, both here on this forum and just general WWW pages. Many of these are for older versions (1.9.4, 1.9.5) and the issues have either been solved or dont apply in my version. I have also read the manual carefully. However, there are still a few things that are not clear.
My system:
Testlink 1.9.8
TRAC 1.0.1
Everthing is *mostly* working. Here is what I can do:
1) Add existing bug ID to a test case and it lists the number, status and name of the bug at the top of the test execution page
2) Click the "Access to Bug Tracking System (Trac)" and get taken to TRAC. However this ONLY works if I am already logged on to TRAC (i.e. testlink does not log into a new TRAC session for me)
So my questions are:
1) Should I expect Testlink to log into TRAC? Or do I always need to have a logged in TRAC session running already? I cant seem to work out if the bug mentioned in the forums about using "<user>" instead of "<username>" has been fixed yet. I tried it both ways, and both times the connection works, but it never logs me onto TRAC. Is it still always using the anonymous user even though you specify username and password?
2) The "Bugs per test case" report is blank (i.e. plain white page) even though I have some executed test cases with bugs linked to them. How do I find out what is going wrong here please? Is there a log file to see why the report isnt working? I looked through the code in "resultsBugs.php" briefly but nothing jumped out at me
3) Is it possible to use your testlink login as the login used to authenticate with TRAC (e.g. so instead of "user1" we could use something like "@user" in the TRAC BTS configuration and depending on who is logged into Testlink will depend on what username is used to connect to TRAC?) In this way different users could log bugs and their testlink username could be matched with their TRAC username and we would know who logged which ticket.
My system:
Testlink 1.9.8
TRAC 1.0.1
Everthing is *mostly* working. Here is what I can do:
1) Add existing bug ID to a test case and it lists the number, status and name of the bug at the top of the test execution page
2) Click the "Access to Bug Tracking System (Trac)" and get taken to TRAC. However this ONLY works if I am already logged on to TRAC (i.e. testlink does not log into a new TRAC session for me)
So my questions are:
1) Should I expect Testlink to log into TRAC? Or do I always need to have a logged in TRAC session running already? I cant seem to work out if the bug mentioned in the forums about using "<user>" instead of "<username>" has been fixed yet. I tried it both ways, and both times the connection works, but it never logs me onto TRAC. Is it still always using the anonymous user even though you specify username and password?
2) The "Bugs per test case" report is blank (i.e. plain white page) even though I have some executed test cases with bugs linked to them. How do I find out what is going wrong here please? Is there a log file to see why the report isnt working? I looked through the code in "resultsBugs.php" briefly but nothing jumped out at me
3) Is it possible to use your testlink login as the login used to authenticate with TRAC (e.g. so instead of "user1" we could use something like "@user" in the TRAC BTS configuration and depending on who is logged into Testlink will depend on what username is used to connect to TRAC?) In this way different users could log bugs and their testlink username could be matched with their TRAC username and we would know who logged which ticket.