[wtr-general] Re: Watir + test unit + windows strange behavior

2009-10-23 Thread de Villamil Frédéric
Hello, I reply to myself to mention I've solved my issue due to a massive lack of sleep. I did the require "test/unit" into the test/XXX.rb and not into the files that actually included the test files. The result was ruby to open 1 window for every test file I required. I apologize for the

[wtr-general] Re: Watir + test unit + windows strange behavior

2009-10-22 Thread de Villamil Frédéric
Hello, Thank you for teling me. I've been developping with Ruby for more than 6 years now and know how to make test suits. My issue is more like "as soon as a test attaches the browser, it starts the next one, opens a new browser windows and tries to run it as a parallel process". I'm dig

[wtr-general] Re: Watir + test unit + windows strange behavior

2009-10-21 Thread yuping zhong
The unit test is running according to the name of the def. So you should make the definition for the name as following: def test_a .. end def test_b end def test_c . end and so on. It will running on order,hope that help. -Zhong On Oct 22, 7:25 am, Tiffany Fodor wrote: >

[wtr-general] Re: Watir + test unit + windows strange behavior

2009-10-21 Thread Tiffany Fodor
Hi Frédéric ! I'm not seeing this issue on Watir 1.6.2, ruby 1.8.6 patchlevel 0. Can you give us the code that is establishing your browser and running your tests? I've posted an example Test::Unit framework here if you'd like to compare it to what you're doing: http://wiki.openqa.org/display/