Add runtime testing for Go #1333
Labels
enhancement
New feature or request
Go generator
Anything related to the Go generator
good first issue
Good for newcomers
released on @next
released
Reason/Context
In #1272 we added the initial runtime setup for Java, now it's time to replicate it for Go.
The reason we add these is to ensure that the code that is generated is semantically and syntactically correct, and the only way to achieve this is by testing the models at runtime.
This initial setup should be as simple as possible, just a Go project, with a single test and a single generated model, and that's it.
Here is the general task list:
test/runtime/runtime-go
test/runtime/runtime-go.ts
. Check out the Java variant as an example https://github.com/asyncapi/modelina/blob/master/test/runtime/runtime-java.tsmodelina/package.json
Line 98 in ba0bd41
modelina/package.json
Line 97 in ba0bd41
And that's it 🎉
The text was updated successfully, but these errors were encountered: