Possible to serialize [PesterConfiguration] to run pester inside a job? #1905
-
Hello, I want to run pester inside a job/runspace with a specific pester configuration to avoid any existing environment baggage. I tried json, clixml, etc. but the seralized pesterconfiguration doesn't hydrate back to the regular pesterconfiguration. I saw that pesterconfiguration has an idictionary constructor, is there a way to convert the information in a pesterconfiguration to idictionary easily, then maybe serialize/deserialize that? @nohwnd for visibility. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Sorted it myself, a hashtable works fine per the comments in the PesterConfiguration class. |
Beta Was this translation helpful? Give feedback.
-
This is being fixed in #1978 |
Beta Was this translation helpful? Give feedback.
This is being fixed in #1978