sailorproject / sailor

A Lua MVC Web Framework.
MIT License
921 stars 125 forks source link

sailor upload testing problem #158

Open Kukuzapa opened 6 years ago

Kukuzapa commented 6 years ago

I use the built-in testing module to test my script, to download files. I'm working with the xavante web server. In the test, I use io.open to open a file and send it via test.request. The test passes, but in the future with this and the following tests an error is issued "/busted/outputHandlers/utfTerminal.lua:134: standard output file is closed". What could be the problem? How should testing these scripts be done from the author's point of view?