confluentinc / ducktape

System integration and performance tests
10 stars 93 forks source link

Setup recieves paramiterizations #365

Open imcdo opened 1 year ago

imcdo commented 1 year ago

Have setup method receive parameterizations such that setup can handle more test specific things. Right now many people avoid using setup as they have specific setup to the test/parameterization so ideas here would be useful as a class could have different tests with different ways of setting up kafka based on the test or the parameterization. Ideally we move this into the setup method, and we can do that by capturing all parameterization details in setup, alternativly we tie setup more to the test, maybe make it a mark to specify which setup to run for the test (kinda like a fixture might work in pytest)