-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
scope - cliCommand line experienceCommand line experience
Description
Context
- In our projects we generally keep all of the sourcecode within a
srcdirectory of the package - We use
luabundlerwhich allows setting the require search path(s) - We set this to be within the
srcdirectory so we only have to dofolder.fileand notsrc.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
Scope
- Add a new configuration option called
requireSearchPathswhich 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.pathis not modified - When running tests with
requireSearchPaths,package.pathis set to those elements concatenated with;
Metadata
Metadata
Assignees
Labels
scope - cliCommand line experienceCommand line experience
Type
Projects
Status
Ready for dev