-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I get an ImportError when running my unittests using Nose and I don't when I just run it standalone. All files referred to here may be seen at http://gist.github.com/395541# .
If I run the test script, importTest-Test.py, directly I get this output:
C:\usr\x\data\src\Python\mmm>python importTest-Test…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Is it possible to install Nose (http://somethingaboutorange.com/mrl/projects/nose/0.11.1/) into a subdirectory of my home
directory on a Linux machine? (I'm not on the sudoers list for that
machine.) If so, how do I do that?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am just learning how to do unit-testing. I'm on Python / nose / Wing IDE.
(The project that I'm writing tests for is a simulations framework, and among other things it lets you run simulations both synchronously and asynchronously, and the results of the simulation should be the same in both.)
The…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
This is a previous post detailing a CI setup for Python. The asker and answerer detail the use of Nose and NoseXUnit with Hudson for their builds. However, NoseXUnit throws an error when run on any source folder where init.py is present:
File "build/bdist.linux-x86_64/egg/nosexunit/tools.py", line…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am attempting to re-organize our test libraries for automation and nose seems really promising. My question is, what is the best strategy for passing Python objects into nose tests?
Our tests are organized in a testlib with a bunch of modules that exercise different types of request operations…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a strange scenario... while doing a EMMA coverage for UT, I get the total block coverage size more than line coverage size.
For block coverage, the total size is some 50,000 while the line coverage is out of 18,000.
I get (block-coverage-value) / 50,000 and (line-coverage-value) / 18,000…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am using EMMA eclipse plugin to generate code coverage reports.
My application is a RESTFul webservice.
Junits are written such that a client is created for the webservice and invoked with various inputs.
However EMMA shows 0% coverage for the source folder. The test folder alone is covered.
The…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi all,
I have a public property in my code as below:
[DependencyInjection]
public IEVentController EventController
{
get;
set;
}
I also have a line of code referencing the EventController property:
EventController.ExecuteObjectEvents( someObject, null );
Now currently (due to some missing…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Does anyone know of an easy way to work backwards from the VS2010 code coverage in-file highlighting to the test that provides the coverage? I have a file with one method covered and another not but looking through my tests I can't spot the one providing the current coverage. It would be great to…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am attempting to set up NCover for usage in my FinalBuilder project, for a .NET 4.0 C# project, but my final coverage output file contains no coverage data.
I am using:
NCover 3.3.2
NUnit 2.5.4
FinalBuilder 6.3.0.2004
All tools are the latest official as of today.
I've finally managed to coax…
>>> More