Hi there,
first i want to explain shortly what we built and then
i will come my problems.
We built a testing framework for our project managers.
They should be able to create some projects and tests for
each client. Because of this, we redirected the output of
watir to an rhtml file in rails. Every test and project was
written into a WebTestCase.suite:
tests.each { |t| WebTestCase.class_eval(t.test_method); }
After that we start the tests:
Test::Unit::UI::Console::TestRunner.new(WebTestCase.suite, 2, @io).start
And then we remove them from the suite
tests.each { |t| WebTestCase.class_eval "remove_method
'#{t.test_method_name}'" }
The tests look "normal", just a few assertions and submits.
That was the prehistory( right word? :) )
When we start a single test, everything works fine, but after starting
a bunch of tests, randomly the internet explorer stops in the middle
of one, not everytime, but sometimes this happens.
Then the next test starts and a new IE opens. we always have
to shutdown the IE manually after this. No error message occurs.
Maybe somebody has the same problem.
Second Problem:
When somebody starts a test, or more tests in a row, the whole website
is not available. Is this maybe a problem of webrick? Of course, the
user
who started the tests should wait until his results arrived, but no one
else can visit the site meanwhile.
I hope that this is not to hard to understand. If you need more
information
just say it :)
Best regards
benjamin
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general