I want to desgin some test case, each test case will do the same operation like
testA do:
insomd moduleX
testing
rmmod moduleX
testB do
insomd moduleY
testing
rmmod moduleY
is it possilbe to put insmod and rmmod operation into setup and teardown? by parameter or something like that. I want to use setup/teardown to do the prepare and cleanup operation here but not in the test function.