cucumber
cucumber: uses dev db even if I specify RAILS_ENV=test at commandline
relevant part of database.yml: development: adapter: mysql encoding: utf8 database: dev username: root password:[详细]
2023-04-01 21:11 分类:问答Cucumber: Creating a step definition that depends on another step
I need to setup a cascading \"Given\" -- one factory that belongs_to the factory before it ... in plain rspec, I\'d create he first factory, then take it\'s ID and pass it to the next factory.[详细]
2023-04-01 20:13 分类:问答Should I create Cucumber features for API gem
I gonna create gem that holds the business logic of the rubywarrior gem and make it to use that AP开发者_如何学PythonI gem for logic, and be used only for terminal command for playing the game. Okay s[详细]
2023-04-01 16:59 分类:问答Capybara/Selenium/Chrome not able to change value of select drop-down
When I run my test with the features, steps, and HTML below the test executes without error (until it fails on the assertion steps), but I can see that no change occurs to the drop-down selects.What a[详细]
2023-04-01 12:40 分类:问答Testing pure Ruby bin/my_app.rb application with RSpec?
I have a command line (NON-RAILS) application written in pure Ruby that I\'m driving out through Cucumber and RSpec.It follows the typical application hierarchy of lib, bin, spec, and feature director[详细]
2023-04-01 12:08 分类:问答How to measure execution time of a cucumber step
I\'m looking for a way to measure the execution time of my cucumber steps. Using the junit format I managed to get some data about the e开发者_如何学运维xecution time of the features and scenarios, bu[详细]
2023-04-01 09:18 分类:问答How to write cucumber test?
I want to write test for edit post I write something like: Given I\'m on \"/post/1/edit\" page but in this time I haven\'t record with ID = 1, even if I created it in previous test开发者_JS百科[详细]
2023-04-01 05:22 分类:问答Guard + cucumber => custom guard file
I\'m trying to correctly 开发者_StackOverflow社区setup my guard file in order to normally only run cucumber features that are in progress. Then, once they have completed, I want to run all of my featu[详细]
2023-03-31 16:51 分类:问答Clicking links using Capybara/Cucumber
I\'m attempting to set up Cucumber testing on a Jquery开发者_StackOverflow Mobile app, but testing clicks is throwing an unexpected error.Here is the scenario:[详细]
2023-03-31 16:13 分类:问答Where to test links in cucumber features?
Assume that I arranged my cucumber features in files like that: features/ ├── add_project.feature[详细]
2023-03-31 09:42 分类:问答