I want to send a large amount of data to my pytests, which I cannot put in the script file. Instead, I want to maintain a file separately and pass inputs parameters for tests from that file. Please help to do the same
Simple, just note the constraints of the tests which you want to pass to the program. Then via any language use random module to generate the tests within constraints e.g. use random.randint in python3, and simultaneously store the generated tests in a text file using file handling. (I prefer python3 for this task)
take a look at python3 documentation and you’ll get it.