functional-testing
Sinatra, Rack::Test, and Conditional GET requests
I\'ve got a Sinatra 1.2.0 app that is doing Last-Modified validation caching with Rack::Cache.Things are working great-- I call last_modified in my route body and if the cache has an up-to-date copy,[详细]
2023-04-12 01:30 分类:问答Software Testing approach [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-04-11 04:54 分类:问答Why doesn't get '/foo' work in functional test in Rails 3?
Looking at the Rails Guides http://guides.rubyonrails.org/testing.html#integration-testing-examples and this SO question Rails Functional Test of Arbitrary or Custom URLs, the following should work in[详细]
2023-04-10 07:30 分类:问答Rails - Functional testing of redirect_to(request.referer)
Ma开发者_如何学Pythonybe I just missing the forest for the trees again, but I can\'t seem to figure out a way to write a functional test that tests a :destroy action that redirects to request.referer.[详细]
2023-04-09 21:46 分类:问答function of searching a string from a file
This is some code I wrote to check a string\'s presence in a file: bool aviasm::in1(string s) { ifstream in(\"optab1.txt\",ios::in);//opening the optab[详细]
2023-04-08 12:35 分类:问答Why has shoulda controller test assign_to no access to instance variable?
For my Rails 3 application I use FactoryGirl together with shoulda context (1.0.0.beta1) and matchers (1.0.0.beta3) for my functional tests.[详细]
2023-04-03 22:35 分类:问答stringify_keys error after supplementing session variables in functional tests
I\'m in the process of upgrading to Rails 3.1.0 from 3.开发者_运维知识库0.10, and I\'m using Devise for authentication.[详细]
2023-04-03 18:52 分类:问答How do I set the accessibility label for a view in xcode4's interface builder?
I\'m hoping to use KIF to write functional tests for our iphone app.It uses \"accessibility labels\" to identify the UI items it\'s testing.How do I set the accessibility label for a view in xcode4\'s[详细]
2023-03-31 20:05 分类:问答WSRequest in FunctionalTest would end up timeout
I have the following functional test. For some reason, the get() call always end up getting a java.util.concurrent.TimeoutException: No response received after 60000ms.[详细]
2023-03-31 02:45 分类:问答Fixtures.loadYaml in FunctionalTest didn't really load the data
I have the following functional test that setup the initial data via fixtures.loadYaml, but when I开发者_运维问答 query the records in testcase, I don\'t see them. Any reasons?[详细]
2023-03-31 00:27 分类:问答