integration-testing
Rails 3 integration test fails with 406 response for simple html request
I have an integration test the sends a simple GET request to the \'show\' action.I get a when I assert_response :success, it fails because the response is a 406, which means the format is Not Acceptab[详细]
2023-03-31 17:48 分类:问答Testing a spring controller method having @ModelAttribute as parameter
I am trying to test a controller with this method: @RequestMapping(value=\"/test\") public ModelAndView generateRecords(@ModelAttribute(\"Employee\") Employee employee) {[详细]
2023-03-31 06:15 分类:问答Make EcliseLink fail if there is an error executing the DDL statements
We use EclipseLink for persistence, and have configured EclipseLink to automatically create the database tables etc., by setting the property eclipselink.ddl-generation to drop-and-create-tables.[详细]
2023-03-30 22:48 分类:问答Persisting test data across apps
My Django site has two apps — Authors and Books. My Books app has a model which开发者_JAVA技巧 has a foreign key to a model in Authors. I have some tests for the Authors app which tests all my models[详细]
2023-03-30 09:27 分类:问答Integration testing maven plugins
There are five choices listed in the maven documentation on testing maven pl开发者_运维技巧ugins:[详细]
2023-03-29 23:22 分类:问答Rspec integration test: Routes not available
I was trying to write an integration test testing, if my controller raises a ActiveRecord::RecordNotFound exeption for deleted articles (which are just marked as deleted):[详细]
2023-03-29 20:48 分类:问答Unit testing database
I want to test my database as part of a set of integration tests. I\'ve got all my code unit tested against mocks etc for speed but I need to make sure all the stored procedures and code is working as[详细]
2023-03-29 18:07 分类:问答Test RESTful JSON Grails Webservice
I want to test my secured webservice to the following: UrlMapping correct, so are the following services available or not?[详细]
2023-03-29 05:23 分类:问答How do I start a JNLP application programmatically?
I have a working JNLP application开发者_运维知识库, but would like to add some end-to-end smoke test.[详细]
2023-03-29 05:21 分类:问答How do you get the soapUI maven plugin to fail safe?
AFAIK, the maven failsafe plugin fails safe because it has separate goals for running the tests and failing the build based on the tests.These are designed to be bound to the integration-test and veri[详细]
2023-03-28 06:19 分类:问答
加载中,请稍侯......