Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Support for Testing Practice

in Suggestions Posts: 1,364

One good way of writing and distributing Codea code involves tests. A useful package might consist of some tabs that would be part of the package for inclusion as a dependency, and other tabs for tests that show how the package works, and that it works.

Today, one could put all the tests in the Main tab. It might be of value to provide a way to mark other tabs to be ignored in dependencies, as Main is.

High value? Don't know, maybe not.

Thanks,

R

Comments

  • Posts: 421

    Totally agree, it would make dependencies less likely to pollute the global environment too and having a large Main tab isn’t ideal.

    As I understand it the project’s Info.plist already maintains the list of files to consider ‘part of the project’ (including Main.lua) so it wouldn’t be a stretch to add an ‘exported’ list to track files that are included when used as a dependency.

Sign In or Register to comment.