# Context - In our projects we generally keep all of the sourcecode within a `src` directory of the package - We use `luabundler` which allows setting the require search path(s) - We set this to be within the `src` directory so we only have to do `folder.file` and not `src.folder.file` - It would be nice to set this with a Lest config option, although you can just overwrite `LUA_PATH` - [Lua's documentation for `package.path`](https://www.lua.org/manual/5.4/manual.html#pdf-package.path) # Scope - Add a new configuration option called `requireSearchPaths` which should be an array of strings - Before running the tests, concatenate these strings with `;` per the documentation above - Assign the new string to `package.path` # Acceptance Criteria - When running tests without defining `requireSearchPaths`, `package.path` is not modified - When running tests with `requireSearchPaths`, `package.path` is set to those elements concatenated with `;`
Context
srcdirectory of the packageluabundlerwhich allows setting the require search path(s)srcdirectory so we only have to dofolder.fileand notsrc.folder.fileLUA_PATHpackage.pathScope
requireSearchPathswhich should be an array of strings;per the documentation abovepackage.pathAcceptance Criteria
requireSearchPaths,package.pathis not modifiedrequireSearchPaths,package.pathis set to those elements concatenated with;