DiscoverTest & Code : Python Testing for Software Engineers87: Paths to Parametrization - from one test to many
87: Paths to Parametrization - from one test to many

87: Paths to Parametrization - from one test to many

Update: 2019-09-113
Share

Description

There's a cool feature of pytest called parametrization.

It's totally one of the superpowers of pytest.



It's actually a handful of features, and there are a few ways to approach it.

Parametrization is the ability to take one test, and send lots of different input datasets into the code under test, and maybe even have different output checks, all within the same test that you developed in the simple test case.



Super powerful, but something since there's a few approaches to it, a tad tricky to get the hang of.

Sponsored By:

Support Test & Code : Python Testing for Software Engineers

Links:

Comments 
loading
In Channel
Download from Google Play
Download from App Store
00:00
00:00
1.0x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

87: Paths to Parametrization - from one test to many

87: Paths to Parametrization - from one test to many

Brian Okken