I really like it when I can just paste the output of got into my qt.DeepEquals expect. But if would be even better if the package names would be correct for types in the current package (which, when doing unit tests, isn't uncommon). One example from recently:
page.PageMatcherParamsConfig{
Params: {
"foo": "bar",
},
Target: page.PageMatcher{Path:"", Kind:"page", Lang:"", Environment:""},
}
This test is run from package page. So, after I paste the above I need to remove the page. package "prefix".
This is not a big issue, but it would make quicktest even nicer.
I really like it when I can just paste the output of
gotinto myqt.DeepEqualsexpect. But if would be even better if the package names would be correct for types in the current package (which, when doing unit tests, isn't uncommon). One example from recently:This test is run from package
page. So, after I paste the above I need to remove thepage.package "prefix".This is not a big issue, but it would make quicktest even nicer.