WebStorm DartUnit with test api, run/debug error

北城以北 提交于 2019-12-02 03:02:36

WebStorm is still hardwired to the old unittest package. There is an open issue to fix this https://youtrack.jetbrains.com/issue/WEB-16053

You can however execute Dart test scripts using the new test package like any other Dart script, to be able to use the debugger. If you use custom HTML pages for your tests, you need to replace the x-dart-test link to a proper Dart script tag to be able to execute it from WebStorm.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!