Dynamic object data within the Config file
This is not really an issue in itself, but more of a query in regards as to how one can have more control over the customization of config files.
I am trying to set some values to variables by getting data from a database connection (through a postgres DB using NodeJS pg module). Then I am passing these variables to the 'describe' and 'it' of the suite in order to have them available in Jenkins report's object.
What would be ideal is to have an array set in the config file, that would be populated from the data received from the database object. This would allow me to call the DB only once and get all the data I need for all the tests, but is this even possible? How can I push dynamic data to variables that will then be available to each and every test in the suite?
All I can see in the documentation points to static variables in the form of 'params' objects.
seems like a great question for stack overflow.
I'm going through and cleaning up by closing stale questions. Please re-open if there is a current bug or feature request. If you have a question, consider Stack Overflow.