hooklift / gowsdl

WSDL2Go code generation as well as its SOAP proxy
Mozilla Public License 2.0
1.14k stars 390 forks source link

Failing test TestEPCISWSDL #253

Open sblackstone opened 1 year ago

sblackstone commented 1 year ago

Using Go 1.20

It seems like its looking for an exact match to a sample file, but the output has changed slightly...

image

It's not clear to me what this is attempting to test or how to resolve it....

sblackstone commented 1 year ago

The test output is this:

--- FAIL: TestEPCISWSDL (0.01s)
    gowsdl_test.go:320: got source ./fixtures/epcis/epcisquery_gen.src but expected ./fixtures/epcis/epcisquery.src
jordanweschler commented 2 months ago

I went through with git bisect and found the original commit that broke that test to be 9a29f8e . This is problematic, because that commit created that test as well. So it seems it was never passing.

3aaab23 has the message "fix broken tests" but the tests still fail on that commit despite the adjustments made.

From looking at the content of the WSDL, the current generated source epciquery_gen.src should be correct; the core issue being the xml.Name member being added, which reflects the structure of the WSDL.