Starbasic 有单元测试框架吗?
好吧,我知道这是一个非常蹩脚的问题,因为 Starbasic 是一种非常蹩脚的语言,但是......有人知道 Starbasic 的单元测试框架吗? 有时我们没有奢侈地使用像 .net 这样的合理语言来做事,因为有时 80% 的项目已经写好了......:-D
Okay I know this is a really lame question because Starbasic is a really lame language, but...does anyone know of a unit testing framework for Starbasic? Sometimes we don't have the luxury of doing things in a sensible language like .net, because sometimes 80% the project is already written... :-D
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
虽然可能没有,但您可能可以通过相对较少的工作来创建一个。 虽然基础语言可能缺少反射等一些不错的功能,但您可以用不到一百行的代码构建一个基本的测试框架。 有一些像 CppUnitLite 这样的例子并不是很复杂,可以作为灵感。
While there probably isn't, you could probably create one with relatively little work. While a few nice features like reflection might be missing from basic as a language, you could whip up a basic testing framework of a kind with less than a hundred lines of code. There are examples like CppUnitLite that aren't very complicated and could be used as inspiration.