integration-testing
Using Capybara for AJAX integration tests
I am using Capybara for rails integration tests. When it comes to AJAX 开发者_运维知识库requests, I am getting the following error:[详细]
2023-03-20 00:59 分类:问答Application Service Layer: Unit Tests, Integration Tests, or Both?
I\'ve got a bunch of methods in my application service layer that are doing things like this: public void Execute(PlaceOrderOnHoldCommand command)[详细]
2023-03-19 15:41 分类:问答Integration tests for single sign-on pages
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[详细]
2023-03-19 13:15 分类:问答can we have bash tests in maven build process for java?
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[详细]
2023-03-19 04:23 分类:问答How to mock Amazon S3 in an integration test
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.[详细]
2023-03-18 22:10 分类:问答Prevent unit tests but allow integration tests in Maven
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.[详细]
2023-03-17 19:34 分类:问答How do I verify that a collection is correctly fetched from db?
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.[详细]
2023-03-17 15:50 分类:问答set session for object in Rspec integration test
I have the following in my controller: def create @board = Board.find(session[:board]) @greeting = @board.Greetings.build(params[:greeting])[详细]
2023-03-17 10:31 分类:问答Unit or integration test resource file directory layout
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[详细]
2023-03-17 03:36 分类:问答Cucumber integration test Error
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)[详细]
2023-03-17 01:50 分类:问答
加载中,请稍侯......