I am using Capybara for rails integration tests. When it comes to AJAX 开发者_运维知识库requests, I am getting the following error:
I\'ve got a bunch of methods in my application service layer that are doing things like this: public void Execute(PlaceOrderOnHoldCommand command)
How do you test pages with single sign-on (SSO) login during integration tests (for instance by using ca开发者_如何转开发ybara or cucumber)? For a normal login, you would write a method which visits t
If my main logic is written using java (a small daemon server), but开发者_高级运维 my test cases is a bash script. How can I include the test into my maven pom.xml? so that I can run my test using mvn
I\'m trying to get an \"walking skeleton\" of my app up that will use S3 for persistence. I would like to use a fake S3 service so each developer\'s desktop can read/write at will.
I\'ve a Maven build in which I use the SureFire plugin to run some unit tests, and the FailSafe plugin to run some integration tests.I would like a way to run just the FailSafe plugin\'s tests.
I am trying to write an integration test for my repository, but I can\'t find a nice way to assert that the results are what I want them to.
I have the following in my controller: def create @board = Board.find(session[:board]) @greeting = @board.Greetings.build(params[:greeting])
What are common approaches to unit or integration test resource directory\'s nested layout? For example, if code, tests, resources are strucured like in a Java project
I have ruby 1.8.7 and rails 2.3.5 and when I run the feature scenario. I get the following error. /usr/lib/ruby/1.8/net/http.rb:560开发者_Python百科:in `initialize\': Connection refused - connect(2)