Sourcing files within unit tests and using `ls`

I want to use source() and then ls() inside unit tests to "grab" the variables from the file I sourced. However, ls() has length 0 (I figure out which relative path to use for sourcing so that works).

I'm using this setup to unit test user defined function source_folder().

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.