How To Generate Test Reports 📝 | pytest Framework Tutorial | Part-X | LambdaTest

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 13

  • @LambdaTest
    @LambdaTest  Год назад +2

    📌 GitHub Repo:
    github.com/RexJonesII/PytestTutorials

  • @satyabratasahoo7129
    @satyabratasahoo7129 Год назад +2

    This video saved me in last time. I was worried about report creation using pytest and this guy solved in second. Thanks mate....🎉

    • @LambdaTest
      @LambdaTest  Год назад

      Glad you liked this😊
      Subscribe to our channel to never miss an update on the upcoming tutorials! ✨

  • @nadyamoscow2461
    @nadyamoscow2461 2 месяца назад

    Thanks a lot. It`s a great tutorial!! So clear and helpful.
    Thanks for sharing!

    • @LambdaTest
      @LambdaTest  2 месяца назад +1

      Glad it was helpful!

  • @keithcarter5547
    @keithcarter5547 Год назад

    First of all, GREAT beginner video! About a year ago, I learned how to customize the HTML report referencing the pytest-html documentation. Recently an upgrade was made to a pytest dependency pytest-metadata (version 3.0.0) which resulted in the "_metadata" to not be supported. Using that that new version, is there another way to customize the Environment section of the HTML report?

    • @LambdaTest
      @LambdaTest  Год назад +1

      Hey there 👋🏻
      Thanks for your kind words! 🌟
      With regard to your question, even after the upgrade of pytest-metadata, you can still customize the Environment section by using the pytest_metadata.metadata dictionary directly in your pytest configuration or fixtures.

    • @keithcarter5547
      @keithcarter5547 Год назад

      @@LambdaTest Thanks so much. For now, I pinned down the version of pytest-metadata within my requirements.txt to work around the issue. Will return back to figure out how to customize the environment section.
      On a different topic, in your html report example, the columns within the Results section references "Result", "Test", "Duration" and "Link". Is it possible to add a column that references the time stamp which corresponds to the results row so that I could sort using that metric?

  • @edgarcortes7784
    @edgarcortes7784 Год назад +1

    Hello, how can I save the Allure report?

    • @LambdaTest
      @LambdaTest  Год назад +2

      Hey there,
      Generate Results: Execute tests with Allure integration to produce results in allure-results/.
      Create Report: Use allure generate allure-results/ -o allure-report/ to save the report in allure-report/ directory.
      Zip for Sharing: Create a zip using zip -r allure-report.zip allure-report/ for easy sharing or backup.
      CI/CD Integration: For automated report generation and archiving, use plugins like the Allure plugin for Jenkins.

  • @shreedeevi2800
    @shreedeevi2800 Год назад

    Any other reporting tools other than these... That support pytest framework sir?

    • @LambdaTest
      @LambdaTest  Год назад

      Yes, there are several reporting tools available for pytest that you can use to generate test reports with different formats and styles. Some popular ones are pytest-html, pytest-xdist, ReportPortal, pytest-bdd