Displaying 3 results from an estimated 3 matches for "personseleniumtest".
2006 Feb 13
9
Selenium. Replacement for traditional rails functional test?
Hi list
I''ve got a bit of a philosophical question. After just having discovered
Selenium /Selenium IDE and the rails selenium plugin I''ve realized that
it''s a whole lot easier to do functinoal testing than writing the
traditional rails functional tests.
However it implies that the development database consists of
standardized test data (e.g the test & dev
2006 Feb 09
1
Alternative take on Selenium in Rails
...y.net.nz/articles/2006/02/09/selenium-testing,
grab the plugin and give it a whirl (be sure to read the README!).
Basically, my approach was to make it possible to write Selenium tests
in the same way that unit and functional tests are written. So, you end
up with test classes such as:
class PersonSeleniumTest < Test::Unit::TestCase
selenium_test
fixtures :people, :households
def setup
open ''/person/view/1''
end
def test_add_new_person
click ''add_new_person_link''
assert_visible ''add_new_person''...
2006 Feb 19
0
Selenium testing plugin
...it with:
script/plugin install
http://svn.viney.net.nz/things/rails/plugins/selenium_testing
And check out the readme:
http://svn.viney.net.nz/things/rails/plugins/selenium_testing/README
For those who don''t know, this plugin allows you to write Selenium tests
like this:
class PersonSeleniumTest < Test::Unit::TestCase
fixtures :people
def setup
open :controller => ''person'', :action => ''view'', :id => 1
end
def test_add_new_person
click ''add_new_person_link''
assert_visible '...