unit-testing
Prompt user during unit test in Perl
I\'m writing a module which has unit tests that require a certain external server program to be running, and, if it is, the hostname and port need to be known.[详细]
2023-04-10 08:01 分类:问答Why isn't the exception caught by << try >>?
I have a Python (Django) unit test FAIL from an exception, but the failing code is in a try / except block written for that exception.A similar block handles the exception when it is directly raised.[详细]
2023-04-10 07:40 分类:问答googletest: construct fixtures with parameters?
I have two implementations of an algorithm working on arrays and returning a single value, a slow and naive but correct method A and an optimized method B that may be buggy at corners of the input par[详细]
2023-04-10 07:04 分类:问答Export test lists in Visual Studio
I have an application for which I am maintaining multiple versions. So, fo开发者_JS百科r that I have multiple versions of solution. I created test lists to group some unit test cases in one solution.[详细]
2023-04-10 05:57 分类:问答How can we run JavaScript jasmine tests from Jenkins (Hudson) without loading a JSP?
We have a rich web client. Our controllers and service facades are written in coffeescript (JavaScript) and jquery. In the past they would have been java.[详细]
2023-04-10 05:56 分类:问答Unit test a method which is on high abstraction level
A similar topic has been discussed in The value of high level unit tests and mock objects However, I\'d like to describe a specific situation and ask your opinion about how I should write a unit test[详细]
2023-04-10 05:48 分类:问答How to unit test session wrapper class?
I have simple session wrapper class with getters and setters to deal with $_SESSION in OO style. session_start() is called in __constructor(). What is the best practice to unit test this class?[详细]
2023-04-10 05:31 分类:问答ActiveRecord::StatementInvalid: Could not find table
I am trying to run users_test.rb file which just has test \"the truth\" do assert true end I do have a likes table, still I am getting this error. Why so?[详细]
2023-04-10 01:36 分类:问答Better Control over test suites in SenTesting Kit/OCUnit
It seems that adding a class to my Xcode 4 Testing project that begins with test... automatically adds it to the testing run, but is there a way for me to have the test suites I want to run defined in[详细]
2023-04-10 01:08 分类:问答How to mock wcf service(transformed from asmx) by Moq
I have Silverligth Unit test Application (.net 4.0) and I\'ve added reference to my WCF service(3.5) And here are my codes[详细]
2023-04-09 22:34 分类:问答