fidothe / cucumber_selenium_example
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
tree 0643235a23514baac57ee59e3bf148a18a4a117d
parent fa31b90a93427f9508d81b7bc9d8d58e7ada3648
| name | age | message | |
|---|---|---|---|
| |
README.markdown | Fri Nov 06 09:57:55 -0800 2009 | |
| |
Rakefile | Fri Nov 06 09:14:24 -0800 2009 | |
| |
app/ | Fri Nov 06 09:14:24 -0800 2009 | |
| |
config/ | Fri Nov 06 09:57:55 -0800 2009 | |
| |
cucumber.yml | Fri Nov 06 09:40:26 -0800 2009 | |
| |
db/ | Fri Nov 06 09:14:24 -0800 2009 | |
| |
doc/ | Fri Nov 06 09:14:24 -0800 2009 | |
| |
features/ | Fri Nov 06 09:18:55 -0800 2009 | |
| |
lib/ | Fri Nov 06 09:18:55 -0800 2009 | |
| |
log/ | Fri Nov 06 09:14:24 -0800 2009 | |
| |
public/ | Fri Nov 06 09:14:24 -0800 2009 | |
| |
script/ | Fri Nov 06 09:17:01 -0800 2009 | |
| |
spec/ | Fri Nov 06 09:17:01 -0800 2009 |
Mixed Selenium / non-Selenium Cucumber testing
A trivial example Rails app with Cucumber + Selenium testing set up and ready to go for Selenium and non-Selenium Scenarios within the same Feature file, using tags to separate them.
It was generated by created a blank Rails 2.3.4 app (The first commit, at http://github.com/fidothe/cucumber_selenium_example/commit/6a8693efe5767436a951fa7f27ac5e826e96cccc), running
ruby script/generate rspec and ruby script/generate cucumber --rspec
(the second commit, at http://github.com/fidothe/cucumber_selenium_example/commit/ad4deeb59595d7a15863ff8fea4d3b6801d5a383).
After that, the modifications needed to make Selenium run were made, in the rest of the commits (http://github.com/fidothe/cucumber_selenium_example/).
The snow_leopard branch contains the tweaks needed to run Selenium with Firefox on Snow Leopard,.
Look out for:
- The addition of
cucumber.yml - The rewritten
lib/tasks/cucumber.rake - The rewritten
features/support/env.rb - The trivial Feature in
features/support/env.rb - The inclusion of the selenium-client gem in
config/environments/cucumber.rb
