unit-testing
Dynamic Method Call within define_method
I\'m rather new to ruby, but am in a sit开发者_如何学编程uation where I have many repetitive methods. In attempting to DRY out my code I came up with something like the following:[详细]
2023-04-10 21:32 分类:问答Unit tests on the UI in MVC3
I have an MVC project and lots of TDD unit tests for testing the passing of data which all work fine.[详细]
2023-04-10 21:12 分类:问答When running the following code from a unit test I find that the task is calling back to a different thread that the synchonizationContext
When running the following code from a unit test I find that the task is calling back to a different thread than the parent\'s. I didn\'t have any trouble with this in a console or WPF but it when it[详细]
2023-04-10 20:24 分类:问答Why am I getting invalidArgument exception while running unit test?
Inside my Table view controller I have following method -(BOOL)isValidCoordinate:(CLLocationCoordinate2D)coordinate[详细]
2023-04-10 19:03 分类:问答How can I test Selenium test scripts? Or should I?
I\'m working in a project with a quite large suite of tests (about 800 scenarios). Our code grew quite a lot and now I\'m lo开发者_运维百科oking for ways to test some parts of our test library. Have y[详细]
2023-04-10 18:31 分类:问答Mocking up Apache session data for unit testing
I\'m working with a web application that, normally, runs in mod_perl under Apache.A co-worker and I are trying to do some unit testing.Are there any good tools or techniques out there for mocking-up s[详细]
2023-04-10 18:08 分类:问答CDI Extensions: Can I expose one interface in two scopes?
I have an interface in a unit testing framework: CDIMocker. I\'m currently using an interceptor to allow mocking in a CDI container. It\'s an experiment - one of a couple of approaches to unit testing[详细]
2023-04-10 14:54 分类:问答building tests that deal with redis and cache_method decorator
So I\'m trying to build some tests for a project using redis but I have two methods giving me trouble.[详细]
2023-04-10 11:03 分类:问答Unit Test Friendly way of using membership details inside the controller
Here is a piece of code from one of the controller inside my ASP.NET MVC 3 App : _destinationdetailRepository.Add(new DestinationDetail {[详细]
2023-04-10 09:54 分类:问答PreparedStatement.execute() hangs in Spring Unit Test
I\'m having some trouble with my unit tests in a Spring MVC application.In full disclosure, there\'s a good chance I\'m designing my unit tests incorrectly given my lack of experience writing a test 开[详细]
2023-04-10 09:47 分类:问答