I’m having problems using a global variable defined in the my test
class, which then is referenced in the libraries file. I’m using Ruby
1.9.3p392 and test-unit 2.5.4
I used the standard Test::Unit (minitest) and it worked with #setup and #teardown as indicated above.
In any case I’m starting to think that the approach I’m using is not the
best way to handle this. What I’m trying to do is to setup the execution
of several Watir test cases, using each unit test as a contained for a
small subset of steps & validations. I know this is not the objective of
unit tests, but couldn’t find a better way to handle this in a
continuous integration environment such as Hudson.
My understanding was that the new test-unit uses the startup
initialization and shutdown methods.
In any case I’m starting to think that the approach I’m using is not the
best way to handle this. What I’m trying to do is to setup the execution
of several Watir test cases, using each unit test as a contained for a
small subset of steps & validations. I know this is not the objective of
unit tests, but couldn’t find a better way to handle this in a
continuous integration environment such as Hudson.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.