• Announcement: Lua.org now officially recommends this forum as a meeting place for the Lua community


  1. devkapilbansal

    Not able to mock io library

    Greetings Everyone, I am trying to mock `io` library for testing. I make two tables definining package.loaded.io as some table. The tables look like this: Then I use luaunit to tests some of the files. The problem I am facing is that the io defined in TestNeighbor is getting used by the...