BaseControllerTest.PrepareController is enough for controller properties setup, such as PropertyBag and Context
Recently I have been trying to use unit tests in my code, and I like the idea in principle. However, the parts of my code that I am most eager to test are those error-prone areas which unit tests alon
Today I ran into an issue using RoR to stub calls to AR objects. I thought that I\'d be able to do something along the lines of :
I\'ve got a controller called SolutionsController whose index action is different depending on the value of params[:user_id].If its nil, then it simply displays all of the solutions on my site, but if
I am using the jquery $.Ajax property for getting some data from database as json and manipulating dom with that.
I have a library that provides a reflection API on top of describeType() (a method that returns an XML object with all the specs of a class or instance). Since this library is used in several other li
I constantly find m开发者_StackOverflow社区yself rewriting the same lines of code in the Firebug console to test my application. The application uses UI so much that I don\'t think unit tests are the
I\'m needing to test web applications in IE6,7 from my OSX workstation.I develop and run test servers locally on my OSX system.Currently have VirtualBox running Windows XP.
Our firm is investigating in acquiring 22\" monitors for our development team. The only current issue is that our users will be using smaller screens开发者_如何学运维.
What is the best way to test an implementation of a mutex is indeed correct? (It is necessary to implement a mutex, reuse is not a viable option)