About 44,300 results
Open links in new tab
  1. How do I unit testing my GUI program with Python and PyQt?

    There's a good tutorial about using Python's unit testing framework with QTest here (old link that does not work anymore. From the WayBackMachine, the page is displayed here). It isn't about choosing one or the other. Instead, it's about using them together.

  2. python - Best-practice: automated web API testing - Stack Overflow

    Feb 7, 2013 · With any testing, the key question really is - what could go wrong? In your case, it looks like the three risks are: The web API in question could stop working. But you check for this already, with assert r.ok. You, or someone else, could make a mistaken change to the code in future (e.g. mistyping a variable) which breaks it.

  3. python - Automated testing in Flask - Stack Overflow

    Jun 4, 2020 · I am having a problem with making automated tests for flask in python 3. I have tried unittest, pytests, nosetests but I still can't figure out how to form automated tests for flask application. Following is the code I have wrote using unittest and pytest unittest:

  4. Testing Embedded system with python - Stack Overflow

    At this point, the answers to the following question might help: Test framework for testing embedded systems in Python If using OpenHTF, you would then write a Plug for your microcontroller that abstracts away the interface you have chosen and exposes functions such as 'activate_led()', 'read_input_signal()' with names related to the features ...

  5. python - How to get rid of the infobar "Chrome is being …

    Chrome is being controlled by automated test software Browser snapshot without the argument disable-infobars : But if you add the argument disable-infobars through an instance of ChromeOptions you can get rid of this infobar as follows:

  6. python - Automated testing for cookiecutters - Stack Overflow

    Oct 20, 2018 · Automated testing for cookiecutters. Ask Question Asked 6 years, 5 months ago. Modified 5 ... (Python) Are ...

  7. Python code to automate desktop activities in windows

    Jan 7, 2018 · You can use PyAutoGUI which provide a cross-platform Python way to perform GUI automation. Mouse Control. Here is a simple code to move the mouse to the middle of the screen: import pyautogui screenWidth, screenHeight = pyautogui.size() pyautogui.moveTo(screenWidth / 2, screenHeight / 2) Related question: Controlling mouse with Python. Keyboard ...

  8. python - PyQT GUI Testing - Stack Overflow

    Oct 23, 2009 · Does anyone know of a automated GUI testing package for that works with PyQT besides Squish? Nothing against Squish I am just looking for other packages. It would be cool if there were an open so...

  9. Automation testing for aws lambda functions in python

    I have a aws lambda function which will write s3 file metadata information in dynamodb for every object created in s3 bucket, for this I have event trigger on s3 bucket. So i'm planning to automate testing using python. Can any one help out how I can automate this lambda function to test the following using unittest package.

  10. python - Beginning Automated Testing - Stack Overflow

    Jun 24, 2013 · For example, if you have written your own container class (unlikely in python but it's a simple example), you would have unit tests for adding items, removing items, looking up items, etc. Component testing. Component testing is testing your program as individual components. This is generally accomplished by creating mocks of the other components.