Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error parsing test list #1490

Open
glaslos opened this issue May 13, 2020 · 0 comments
Open

Error parsing test list #1490

glaslos opened this issue May 13, 2020 · 0 comments

Comments

@glaslos
Copy link

glaslos commented May 13, 2020

Running revel test github.com/revel/examples/chat vanilla checked out. Added error handling here: https://github.com/revel/cmd/blob/master/revel/test.go#L136

This is how the test looks like:

[
  {
    "Name": "ApplicationTest",
    "Tests": [
      {
        "Name": "TestThatIndexPage"
      },
      {
        "Name": "TestThatIndexPageWorks"
      }
    ],
    "Elem": {}
  }
]

Failed to get test list[error json: cannot unmarshal object into Go struct field TestSuiteDesc.Elem of type reflect.Type]

For some reason Elem is encoded as an {} and can't be Unmarshalled into a reflect.Type

revel and cmd master branch. Go 1.13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant