Pencarian Populer

PyTest Cookbook - Using hooks to create custom plugins

PyTest Cookbook - Using hooks to create custom plugins

(0)
Harga
Jumlah
Info Produk

Stehhangat

free courses

Kategori

Barang asal

Pengiriman
Read more »

 

PyTest Cookbook - Using hooks to create custom plugins

PyTest Cookbook - Using hooks to create custom plugins,Sort, rearrange, randomize and filter tests using hooks and create distributable plugins.


Preview this Course  -  GET COUPON CODE


In this course, we explore PyTest hooks so that we can modify our tests as well as create our own report files.


This is an intermediate and above course.


There is no code along but we work on completed templates, breaking and fixing to understand how they work.


We will learn to use hooks to:


Create a CSV output of teststhat will be run (like --collect-only). Project 01)


Add custom markers to tests dynamically to enable management of a large number of tests. (Project 02)


Order tests by name, markers and custom criteria. (Project 03)


Randomise order of tests.  (Project 03)


Sort tests to run those with markers 'first' first, those with markers 'last, and the rest in the middle with a custom ordering,  (Project 03)


Filter tests based on custom criteria dynamically. (Project 04)


Enable dynamic loading of data from code, database or files for parametrized queries.  (Project 05)


Create distributable .whl (wheel) files to share your plugin in many ways using one of our custom sorting hooks that sorts test by test name alphabetically in asc or desc with the use of --asc and --desc CLI flags that we built in Project 03.


Learn now to view popular plugin code to get ideas and understanding. We can learn a lot as well as customise already made plugins.


Save properties recorded in tests for use in our final report. (Project 06 and 07)


Create stunning test result console output with emojis, panels and colours! (Project 08)


Learn now to view popular plugin code to get ideas and understanding. We can learn a lot as well as customise already made plugins.


Create distributable plugins:


Create distributable .whl (wheel) files to share your plugin in many ways using one of our custom sorting hooks that sorts test by test name alphabetically in asc or desc with the use of --desc CLI flag that we built in Project 02.


This course assumes intermediate knowledge of Python and PyTest and the use of pip installations. It is not a beginner's course.


There are many hooks or entry points when we run PyTest and by using these we can modify how PyTest runs.


We will learn how to package our hooks into distributable plugins that can be uploaded to PyPi or distributed as .whl files.


Please note!


I do not do a code along.


There are advantages to this and I myself do like following videos with this style.


However, for speed and efficiency, I provide all the source code so we can focus on understanding why the code works rather than just getting it to work.


Methodology:


We will break and fix the code so that we can see what is happening and it also means you will have ready made plugins to modify to your own requirements.


We will go though the 'whys?' of the code and learn how use the docs to get more information.


Each project has written notes to help understand and use them and you will have ready made plugins to go! All you need to do is modify them and use them


I have really enjoyed researching and developing this course and is the course I have wanted.


Complete final source code that is highly commented along with markdown notes to provide an 'ebook'.


Let's start building plugins and leverage the power of PyTest!




Who this course is for:

Python devs/testers who want to go deeper into PyTest.


#IT & Software #Other IT & Software #Python

Kirim Pesan

Hai, barang ini ready ga?
Bisa dikirim hari ini ga?
PyTest Cookbook - Using hooks to create custom plugins

PyTest Cookbook - Using hooks to create custom plugins

Beli Langsung

×
PyTest Cookbook - Using hooks to create custom plugins
PyTest Cookbook - Using hooks to create custom plugins
barang
Alamat
Metode Pembayaran
Total Bayar

0 Ulasan