Answer the question
In order to leave comments, you need to log in
What is the best way to pass data between test and test constructor?
There are two applications:
1) Something like a test constructor that allows you to create a question, answers to it, and other information about the question. After creation, the question should be added to some general list.
2) Application - a test that loads all the questions created in the constructor (receives data from the list) and already works with them.
Question: what is the best way to exchange information in this case? Namely, how best to store the created questions, for their further loading into the application - a test.
Since the question is a bit, I thought to use separate files for each question and load information from them into the test, but this has a lot of resources and greatly affects the speed. How to do it better?
Answer the question
In order to leave comments, you need to log in
Namely, how best to store the created questions, for their further loading into the application - a test.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question