about summary refs log tree commit diff stats
path: root/Manual_tests.md
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-07-11 22:14:59 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-07-11 23:18:26 -0700
commit2e3a85d94be44bfb53554d0e7ba8a36f8e91c605 (patch)
tree8f677e27e45ba8e57db5eaea1380825531bb78b4 /Manual_tests.md
parent3dccd7f81abff050a37b5a65eb5e3cc6756a4b7f (diff)
downloadtext.love-2e3a85d94be44bfb53554d0e7ba8a36f8e91c605.tar.gz
experiment: new edit namespace
Still lots to do, but the eventual hope is that this will make this
project's code easier to reuse from other LÖVE projects.

One gotcha: even as we start putting code more aggressively into nested
tables, tests must remain at the top-level. Otherwise they won't run.
Diffstat (limited to 'Manual_tests.md')
-rw-r--r--Manual_tests.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/Manual_tests.md b/Manual_tests.md
index 690ccd9..8c2dd30 100644
--- a/Manual_tests.md
+++ b/Manual_tests.md
@@ -24,6 +24,10 @@ Lua is dynamically typed. Tests can't patch over lack of type-checking.
 * Like any high-level language, it's easy to accidentally alias two non-scalar
   variables. I wish there was a way to require copy when assigning.
 
+* My test harness automatically runs `test_*` methods -- but only at the
+  top-level. I wish there was a way to raise warnings if someone defines such
+  a function inside a dict somewhere.
+
 ### Todo list
 
 * Initializing settings: