Modify

Opened 18 years ago

Closed 17 years ago

Last modified 17 years ago

#1713 closed defect (worksforme)

testcases problem reading from subversion

Reported by: anonymous Owned by: edunne
Priority: high Component: TestCaseManagementPlugin
Severity: major Keywords:
Cc: Trac Release: 0.10

Description

When I try to run the test I get tihs message: No node svn://server:8004/testcases at revision 8 but I have tihs files in subversion:

root/testcases View revision: Name Size Rev Age Last Change ../ exampleTestCase.xml 295 bytes 7 11 minutes iuli: -- testtemplates.xml 151 bytes 7 11 minutes iuli: --

Attachments (3)

exampleTestCase.xml (295 bytes) - added by iparaian@… 17 years ago.
exampleTestCase.2.xml (295 bytes) - added by iparaian@… 17 years ago.
testtemplates.xml (151 bytes) - added by iparaian@… 17 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 Changed 17 years ago by anonymous

in your trac.conf file what are the values of :

repository_dir=

and

subversionpathtotestcases =

comment:2 Changed 17 years ago by iparaian@…

repository_dir = E:\Repository\svn\repo_cms

subversionpathtotestcases = svn://server:8004/testcases

Changed 17 years ago by iparaian@…

Attachment: exampleTestCase.xml added

Changed 17 years ago by iparaian@…

Attachment: exampleTestCase.2.xml added

Changed 17 years ago by iparaian@…

Attachment: testtemplates.xml added

comment:3 Changed 17 years ago by anonymous

Resolution: invalid
Status: newclosed

the subversionpathtotestcases path should be a relative path inside the \repo_cms file not a URI.

the path needs to be something more like

subversionpathtotestcases= \testcases

or

subversionpathtotestcases= \myproject\testcases

or wherever the location of the testcases are inside the repository.

Think of where in the repository you checked in your testcases. You've linked the trac instance up to the root of the repository but you could easily have done:

repository_dir = E:\Repository\svn\repo_cms\myproject\

I know there isn't a file called myproject, TRAC just knows how to look into the subversion repository file and resolve that path (as long as it's the top level path in the repository).

comment:4 Changed 17 years ago by iparaian@…

Resolution: invalid
Status: closedreopened

Ok, I changed that. But I still get this errors when I go to "Create Test Run from mainline":

Not Found

No handler matched request to testmanagement/runs

What dose it means?

comment:5 Changed 17 years ago by anonymous

In your trac.conf file what extensions are enabled?

comment:6 Changed 17 years ago by anonymous

Are you reffering to this:

[testManagementExtension] subversionpathtotestcases = \testcases

what other extension can be

comment:7 Changed 17 years ago by anonymous

no I'm referring to a section in your trac.conf file that looks like:

[components] 
sprintreports.sprintreportsmain.sprintreportsmanager = enabled
testmanagementplugin.* = enabled
testmanagementplugin.testmanager.testmanager = enabled
testmanagementplugin.testresults.testresults = enabled
testmanagementplugin.testruns.testrunmanager = enabled
testmanagementplugin.testscriptvalidator.testscriptvalidator = enabled
webadmin.* = enabled

comment:8 Changed 17 years ago by iparaian@…

thank you, it works now. the problem was here: subversionpathtotestcases= \testcases it should be without "\" subversionpathtotestcases= testcases

comment:9 Changed 17 years ago by anonymous

Resolution: worksforme
Status: reopenedclosed

ok sounds good. Let me know if you have any other issues.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain edunne.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.