需要在代码中先设定package.path的值

package.path=[[E:\3SG\Test\luaunit-master\?.lua;]] .. package.path
luaunit = require('luaunit')

相关文章: