unit-testing
Spring MVC: Testing particular annotated method gets invoked
In Spring MVC 3.0, how do I test that a particular method gets invoked? For example, I have this controller method:[详细]
2023-04-11 06:29 分类:问答send email from hudson when unittest fails
I am running Selenium unittests after my hudson build. And want to use it for monitoring my websites functionality.[详细]
2023-04-11 05:07 分类:问答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 分类:问答Unit Testing: How to break a local object dependency?
I\'ve a code like following: class B; class A { A() { } bool MethodA() { B *pB = new B(); bool bRet = pB->SomeFunction();[详细]
2023-04-11 04:24 分类:问答Unit Test Private methods in WP7
I want to write unit tests for my private methods in WP7 app code. So I would like to know how to call private methods from Silverlight Unit Test code. Below is a code snippet for which I would like t[详细]
2023-04-11 04:22 分类:问答How to apply TDD/BDD methodology for creating Excel files from C# using data from an Oracle database
I am starting a new project where I have to create and manipulate multiple Excel files based on some data in an Oracle databse.I want to learn and apply TDD/BDD methodologies in this project to improv[详细]
2023-04-11 02:00 分类:问答How to run my tests from inside setup.py (setuptools)?
I know the setuptools has an option to run your tests but 开发者_如何学运维I didn\'t find any information regarding how to make it run my tests.[详细]
2023-04-11 00:55 分类:问答Can't Unit Test: $_SESSION empties before each test is ran
I can\'t unit test my code. $_SESSION clears every time the next test is run. When I run testStartProductSession() my object adds some data to the $_SE开发者_高级运维SSION variable. But when I run t[详细]
2023-04-11 00:09 分类:问答Is there a way to make Visual Studio 2010 to run all tests on the same thread?
Even when Visual Studio 2010 does not run tests in multiple parallel threads, it still uses different threads to run different test methods. It uses one thread to run one test, and then switches to ot[详细]
2023-04-10 22:26 分类:问答Is it possible to use Python based Unit Test frameworks and runners, to test C Code
Python based Unit test Frameworks开发者_如何学编程 like \"nose\" have a lot of rich features, i wonder if we can leverage them to test C Code.Of course you can.... but you\'ll have to write a binding[详细]
2023-04-10 21:52 分类:问答