Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 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@… 7 years ago.
exampleTestCase.2.xml (295 bytes) - added by iparaian@… 7 years ago.
testtemplates.xml (151 bytes) - added by iparaian@… 7 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 Changed 7 years ago by anonymous

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

repository_dir=

and

subversionpathtotestcases =

comment:2 Changed 7 years ago by iparaian@…

repository_dir = E:\Repository\svn\repo_cms

subversionpathtotestcases = svn://server:8004/testcases

Changed 7 years ago by iparaian@…

Changed 7 years ago by iparaian@…

Changed 7 years ago by iparaian@…

comment:3 Changed 7 years ago by anonymous

  • Resolution set to invalid
  • Status changed from new to closed

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 7 years ago by iparaian@…

  • Resolution invalid deleted
  • Status changed from closed to reopened

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 7 years ago by anonymous

In your trac.conf file what extensions are enabled?

comment:6 Changed 7 years ago by anonymous

Are you reffering to this:

[testManagementExtension] subversionpathtotestcases = \testcases

what other extension can be

comment:7 Changed 7 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 7 years ago by iparaian@…

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

comment:9 Changed 7 years ago by anonymous

  • Resolution set to worksforme
  • Status changed from reopened to closed

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

Add Comment

Modify Ticket

Action
as closed The owner will remain edunne.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.