ckaiser79 / webtest-rb

Run browser based tests. Based on watir-webdriver.
Other
0 stars 0 forks source link

logDirectory Not empty exception #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. testcase finished
2. wanna rerun a testcase
3. throws exception: logDirectory is not empty

What is the expected output? What do you see instead?
expected: automatic delete of log files
output: c:\dev\projects\webtest-rb\bin-vendor>start-single-tc.bat 00080
I, [2012-07-20T15:13:44.076441 #4336]  INFO -- : Started
I, [2012-07-20T15:13:44.076441 #4336]  INFO -- : Scanning 
C:/dev/projects/webtest-rb/log/last_run
c:/dev/projects/webtest-rb/lib/core/webtest/startup.rb:255:in `block in 
abortIfLogDirectoryNotClean': Log directory is not clean (RuntimeError)
        from c:/dev/projects/webtest-rb/lib/core/webtest/startup.rb:253:in `foreach'
        from c:/dev/projects/webtest-rb/lib/core/webtest/startup.rb:253:in `abortIfLogDirectoryNotClean'
        from c:/dev/projects/webtest-rb/lib/core/webtest/startup.rb:45:in `run'
        from webtest-rb:83:in `<main>'

What version of the product are you using? On what operating system?
latest version on win7 32 bit

Please provide any additional information below.

Original issue reported on code.google.com by jnkro...@gmail.com on 20 Jul 2012 at 1:22

GoogleCodeExporter commented 9 years ago
Add parameter to delete logfile

Original comment by barny...@gmail.com on 1 Mar 2013 at 4:38