based on the returned objects from database I want to generate an own test case for each row / single object
and afterwards all of these functions should run through selenium
The solution I have at the moment is to generate the tests in 1 test function, but this function runs for about 20-40 minutes … so when it crashes … lots of fun looking for the problem :-P.
I know this sounds a bit weird, but this would be the perfect solution for me … never worked with something like that (generating code via runtime, which has to be executed afterwards in the same run).
Thanks for your help in advance,
P.S.: Is it maybe possible to write the generated code in an extra file and afterwards include this file? … but how to solve the error from including a file which doesn’t exist yet