#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)
Change History (12)
comment:1 Changed 17 years ago by
comment:2 Changed 17 years ago by
repository_dir = E:\Repository\svn\repo_cms
subversionpathtotestcases = svn://server:8004/testcases
Changed 17 years ago by
Attachment: | exampleTestCase.xml added |
---|
Changed 17 years ago by
Attachment: | exampleTestCase.2.xml added |
---|
Changed 17 years ago by
Attachment: | testtemplates.xml added |
---|
comment:3 Changed 17 years ago by
Resolution: | → invalid |
---|---|
Status: | new → 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 17 years ago by
Resolution: | invalid |
---|---|
Status: | closed → 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:6 Changed 17 years ago by
Are you reffering to this:
[testManagementExtension] subversionpathtotestcases = \testcases
what other extension can be
comment:7 Changed 17 years ago by
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
thank you, it works now. the problem was here: subversionpathtotestcases= \testcases it should be without "\" subversionpathtotestcases= testcases
comment:9 Changed 17 years ago by
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
ok sounds good. Let me know if you have any other issues.
in your trac.conf file what are the values of :
repository_dir=
and
subversionpathtotestcases =