-
Notifications
You must be signed in to change notification settings - Fork 51
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
Support to generator Python code from a HTTP testCase #365
Comments
示例中的代码是在根据go template文件生成http请求的payload? 想要的python代码生成器也是想要做到这一点吗 |
感觉整个的代码生成器可能是想要根据模板生成一段http请求的代码,//go:embed data/main.go.tpl我对这行注释代码感到不解,是怎样把当前的生成器和data/main.go.tpl文件对应起来的呢 |
|
@hahahashen 其实,就是用来生成一段发送 HTTP 请求的代码(不同语言),主要的使用场景是:
|
我可以试试解决这个问题吗 |
好呀,期待你的 PR @zhouzhou1017 |
似乎存在一些问题:
应该修改为
|
问题 2 感觉可以统一解决下,避免每种语言(框架)都会遇到。 |
另外,为了保证生成的代码可以运行,我们可以增加对应的 e2e 测试:
|
我觉得是个好主意!我想试试看,但是我还想报名 ospp,不知道我现在开始写关于这个的代码会不会有影响?我看到 注意事项 里面有写到:
|
只要是和议题无关的 PR 还是鼓励的,议题相关的代码是需要按照规定的时间线来做。 |
我跟进试试看 |
* chore(deps): update dpage/pgadmin4 docker tag to v7.6 * Update app version --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-action update-app-version <[email protected]>
Below is the Golang code generator.
Similarly, we could add the Python code generator. Please feel free to do some research to find out how to make a HTTP request in Python.
The text was updated successfully, but these errors were encountered: