We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
由于开发者的疏忽,将mock代码提交到生产环境,对此框架有没有对环境变量或者开关类做限制呢?
The text was updated successfully, but these errors were encountered:
具体是怎么导致Mock代码提交到生产环境的呢?
正常来说,Mock代码只在单元测试运行的时候生效,不会出现在生成的jar包里。
Sorry, something went wrong.
目前我公司基本没有写单测,所以存在直接在代码里面mock数据,我记得阿里之前也有要求说写单测,但是实际上业务团队在追求效率情况下,也会采用类似的粗暴的直接mock,我的想法希望能够兼容这种场景
如果线上不挂载testable-mock agent的话应该也不会影响,那应该没问题
No branches or pull requests
由于开发者的疏忽,将mock代码提交到生产环境,对此框架有没有对环境变量或者开关类做限制呢?
The text was updated successfully, but these errors were encountered: