Skip to content Skip to sidebar Skip to footer
Showing posts with the label Testing

Find Qwidget Object Text By Using Pywinauto

I work as a test engineer. I have to test an application(softphone) which is done by using QWidget.… Read more Find Qwidget Object Text By Using Pywinauto

How Can I Test My Python Module Without Installing It

I'm in the process of redesigning/refactoring my Python quantum chemistry package (pyquante). O… Read more How Can I Test My Python Module Without Installing It

Custom Django Management Command With Appended Parameters

My team runs a custom test suite pretty regularly. When we want to run the whole thing, we do ./ma… Read more Custom Django Management Command With Appended Parameters

Flask Testing - Why Does Coverage Exclude Import Statements And Decorators?

My tests clearly execute each function, and there are no unused imports either. Yet, according to t… Read more Flask Testing - Why Does Coverage Exclude Import Statements And Decorators?

Google App Engine Require Indexes For Tests

I just got bit by my functional tests not using the same settings as my dev_appserver. I currently… Read more Google App Engine Require Indexes For Tests

Parametrize The Test Based On The List Test-data From A Json File

Is there a way to parametrize a test, when test has a list of different/multiple test-data? example… Read more Parametrize The Test Based On The List Test-data From A Json File

How Tdd Can Be Applied To Django Class Based Generic Views?

Since Class based Generic Views in Django involve some work by the framework I find very hard to w… Read more How Tdd Can Be Applied To Django Class Based Generic Views?

Py.test Logging Messages And Test Results/assertions Into A Single File

I am starting to work with py.test at the moment for a new project. We are provisioning Linux serve… Read more Py.test Logging Messages And Test Results/assertions Into A Single File

How To Keep Unit Tests And Integrations Tests Separate In Pytest

According to Wikipedia and various articles it is best practice to divide tests into Unit tests (ru… Read more How To Keep Unit Tests And Integrations Tests Separate In Pytest

Pytest Marks: Mark Entire Directory / Package

I am testing several versions of a component using Pytest. Some tests can run on all versions, some… Read more Pytest Marks: Mark Entire Directory / Package

Is There Way To Only Perform The Doctests, Ignoring Print Function Calls?

Hypothetically speaking, my function returns a value and has lot of print statements (maybe 100 or … Read more Is There Way To Only Perform The Doctests, Ignoring Print Function Calls?

Should Python Unittests Be In A Separate Module?

Is there a consensus about the best place to put Python unittests? Should the unittests be included… Read more Should Python Unittests Be In A Separate Module?