-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I have a test suite to perform smoke tests. I have all my script stored in various classes but when I try and run the test suite I can't seem to get it working if it is in a class. The code is below: (a class to call the tests)
from alltests import SmokeTests
class CallTests(SmokeTests):
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
some small application I'm developing uses a module I have written to check certain web services via a REST API. I've been trying to add unit tests to it so I don't break stuff, and I stumbled upon a problem.
I use a lot of signal-slot connections to perform operations asynchronously. For…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have problem organizing my unittest based class test for family of tests. For example assume I implement a "dictionary" interface, and have 5 different implementations want to testing.
I do write one test class that tests a dictionary interface. But how can I nicely reuse it to test my all classes…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I have a setup for using UnitTest++ like this in VS2008.
Sometimes the cmd window, which shows the console output of the unit tests just hangs.
I can move the window, resize and stuff, but I'm unable to close it. I see the window in the App tab of the Task Manager, but not in the Process…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello I have test's using unittest. I have a test suite and I am trying to pass variables through into each of the tests. The below code shows the test suite used.
class suite():
def suite(self): #Function stores all the modules to be tested
modules_to_test = ('testmodule1', 'testmodule2')
…
>>> More