Auch, so many e-mails that it's hard to follow...

1) I have ran tests so far like this from the source:
rake cruise:ie_core_tests
rake cruise:ff_mozilla_all_tests

2) My idea was not to move any commonwatir code or unittests to the
gems, but rather use commonwatir source if it is available and if not
then the source from the commonwatir gem itself (since it is a
dependency of Watir or FireWatir, then it has to be installed). In
99.99% times there is a chance that at least one of these exist.

3) I am almost ready with the solution that "rake test" under Watir
runs the same tests as "rake cruise:ie_core_tests" from the root and
"rake test" under FireWatir runs same tests as "rake
cruise:ff_mozilla_all_tests".

I'm in the middle of testing the solution and will install gems
locally and then test again to see if there's any problems. In a few
words, i'm quite confident that i can commit the changes to master in
a few days - so it could be made into 1.6.6 after all. Or rather
1.6.6.rc2.

I noticed that if running rake "cruise:X" tasks with my current
solution then since the working directory gets changed to
Watir/FireWatir then the test xml files for ci will be written to each
project's directory. Since there isn't any CI-s in use anymore (or
currently) then maybe i don't have to deal with this problem and would
just delete ci-specific code altogether?

Bret, what do you think about it? Also, what do you think about my
idea of making gems testable?

Jarmo

On Tue, Sep 28, 2010 at 8:57 PM, Bret Pettichord <[email protected]> wrote:
>
>
> On Tue, Sep 28, 2010 at 12:27 PM, Željko Filipin
> <[email protected]> wrote:
>>
>> I would suggest that for 1.6.6. we just fix the failing tests (when
>> executed from source, not from gem) and do not remove them from the gem.
>
> What is the point of including the tests in the gem if they don't run in the
> gem?
>
>> For another release (1.6.7?) we can take a look how to make tests
>> executable from gems. As Bret suggested, copying commonwatir tests to watir
>> and firewatir gems sounds like a good idea.
>
> +1
>
>>
>> After that we could see if watir/firewatir tests and watirspec could be
>> merged, so all tests could be moved to a separate project (watirspec?).
>>
>> Also, we should decide should we ship with the gem just the subset of
>> tests that do not require any special browser settings. I use watir gem
>> without any modifications to the browser. I only have to change browser
>> settings to run unit tests.
>
> I know I suggested this earlier, but now am backing off on the suggestion. I
> think the last thing we need right now is to split off yet another test
> suite.
>
>
> _______________________________________________
> Wtr-development mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-development
>
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to