Thijs Schreijer

Results 444 comments of Thijs Schreijer

@javierguerragiraldez just tested, and indeed just yielding seems enough. So in the example above this is the simplest fix: ```lua ngx.timer.at(30, function(premature) -- release semaphore sema:post(1000) if premature then print...

@Colstuwjx I commented on it, but I'm not a maintainer of this lib

docs are in `gh-pages` branch, PR's welcome!

insulation will revert the loaded modules to the ones that were loaded at the start of the test I think. So libs loaded during the test will be cleared for...

how about; * create 2 `package.loaded` tables * patch `require` * `require` inspects the call stack (using `debug` lib) * if call is initiated from a `busted` file, it uses...

I should have mentioned that each of the `package.loaded` tables should also have its own lua-path settings. Where the Busted path would not include the path to the local sources...

The documentation is in the `gh-pages` branch

Busted uses its own sandbox. Check the command-line options, probably there is a switch to turn it off.

What is this? a feature request, or a bug? please add appropriate details