Git Product home page Git Product logo

anodot-test-automation-backend's Introduction

Automation Framework with Playwright and pytest

Manual steps:

1. Install environment:

run: |
  python -m pip install --upgrade pip
  pip install -r requirements.txt

2. Run all playwright tests:

reopen terminal and run:

pytest

3. To run tests with HTML report:

pytest tests/ --html-report=./report --title='PYTEST REPORT'

Test Plan

To design and implement a test plan for the PyTemp package, we can use the pytest library in Python.

Here's a sample test plan to cover the basic functionality of the package:

Test the basic functionality of the temperature conversion functions for Fahrenheit to Celsius and vice versa.

  • Test if the conversion from Fahrenheit to Celsius is accurate Test if the conversion from Celsius to Fahrenheit is accurate Test the functionality of the temperature conversion functions for Kelvin to Celsius and vice versa.

  • Test if the conversion from Kelvin to Celsius is accurate Test if the conversion from Celsius to Kelvin is accurate Test the functionality of the temperature conversion functions for Kelvin to Fahrenheit and vice versa.

  • Test if the conversion from Kelvin to Fahrenheit is accurate Test if the conversion from Fahrenheit to Kelvin is accurate Test the functionality of the temperature averaging functions for lists of temperatures.

Testing edge cases and error handling

For example, testing if the package can handle extremely high or low temperatures, or if it can handle invalid input values. Testing the performance of the package

For example, testing how quickly the package can convert large lists of temperatures or handle a high volume of requests. Testing the package with different Python versions and environments

For example, testing the package with different versions of Python or different operating systems to ensure compatibility. In the future, tests should be added to cover these areas as well to ensure the reliability and robustness of the package.

anodot-test-automation-backend's People

Contributors

azanir avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.