Skip to main content
Universe OpenAstronomy
  • Archive
  • Tags
  • RSS feed
    • Darshan Patil ❌✅✅❌❌✅❌
    • kashish shrivastav ✅✅✅❌✅❌❌
    • Mohammad Adnan ❌✅❌✅❌❌❌
    • mohyware ❌✅✅✅❌❌✅
    • Pratham ❌✅❌✅✅❌✅

    Parameterized testing using Pytest

    Adeel Ahmad

    2017-07-13 04:40

    Original site

    Pytest provides a feature for parameterized testing in Python. The built-in pytest.mark.parametrize decorator enables parametrization of arguments for a test function. This allows the user to compare the values for input and output. Here is a typical example which shows its usage: get_hips_order_for ...READ MORE...

    • Astropy
    • Previous post
    • Next post
    Contents © 2025 OpenAstronomy - Powered by Nikola Creative Commons License BY-SA