PytestΒΆ

  • Specify ID or Name for pytest Parameter Set
    • Parameterization with automatic identifiers
    • Provide custom identifiers with pytest.param
    • Provide custom identifiers with ids parameter
    • Good Practice: Use Dictionary to Define Test Parameters
    • Generate Dynamic Identifiers
    • Assign Custom Idenfiers for Parameterized pytest Fixutres
    • Conclusion

Django for APIs Cookbook

Navigation

  • Setup Python Project
  • Setup a Django Project
  • Custom Django User Model
  • Create Django Models for the Blog API
  • Test Models with Pytest
  • REST API with Djangno Rest Rest Framework
  • Finite State Machine (state transitions) with django-fsm
  • Pytest
    • Specify ID or Name for pytest Parameter Set
  • Future Topics

Related Topics

  • Documentation overview
    • Previous: Finite State Machine (state transitions) with django-fsm
    • Next: Specify ID or Name for pytest Parameter Set
©2024, Ivan Georgiev. | Powered by Sphinx 8.0.2 & Alabaster 1.0.0 | Page source