本文共 194 字,大约阅读时间需要 1 分钟。
工程Run As TestNG Test可以不需要main函数,就可以执行类中的方法,和Junit是一样的,
但是Junit的升级版,并逐渐代替Junit。