Write TestParametersDictionary to xml result file in readable format (#2298)#2382
Write TestParametersDictionary to xml result file in readable format (#2298)#2382rprouse merged 5 commits intonunit:masterfrom
Conversation
…stead of one string
jnm2
left a comment
There was a problem hiding this comment.
Code looks great! I want to make sure @nunit/framework-team members respond to #2298 (comment) before merging.
|
This looks good to me, but I agree with @jnm2 that we should use the same names in the XML as IDictionary exposes. Please rename @grimmi I am hoping to get the 3.8 release out in the next day or two. Do you think you could knock this off by then? I am going to add the associated issue to the milestone so I can track it. |
|
Yep, going to do it this evening. I'm out at the moment, but will do it some time tonight. |
|
@rprouse Just checking, looks like you meant changing |
|
I'm dubious about the use of There are two ways to deal with possible future change. One is to wait for the future, which we all know is my preferred approach. Change is inevitable but any particular change is not. Preparing for the future often means preparing for the wrong future. The other approach is to act in a way that leaves everything open.
The approach being picked seems to fall somewhere between those two choices. If we really want to be general, then the suggestion of using inner text or xml as the value is the most general. Simply picking a particular attribute or element name only works if some particular future arrives. As I stated on the issue, I'm backing off this one. Frankly, it looks to me as if it is being decided in haste in order to get it into the 3.8 release. @ChrisMaddock originally designated this as an |
|
Regarding procedure, I agree with @CharliePoole. @rprouse should have the final say (but of cause we should try to get consensus about a given issue and its solution). |
|
Rob can also feel free to dismiss my reviews for expediency. In this case my review was no longer relevant anyway. =) |
…e from 'name' to 'key'
7b3b179
|
@rprouse I hope this is what we ended up with in the discussion. You wrote to change |
In most cases, I don't think that my approval overrides others. It is just that if someone else on the team has requested changes, I feel that if I also request the same changes it slows the process down because now two team members need to come back and re-review. So my approval is pending the other team members requests being satisfied. @grimmi there seems to be a fair amount of disagreement on this issue, sorry. Thanks for pushing the changes, I will re-review, but I am also going to go back and re-read the issue. With this much disagreement I am clearly missing something. 😄 I will get back to you soon... |
Fixes #2298
This writes dictionary parameters as extra nodes below the setting element.