irisjae / nephyrite

0 stars 0 forks source link

approach to testing in dev? #19

Open irisjae opened 6 years ago

irisjae commented 6 years ago

have handled like this in past
looks really bad

how to link up file structure? in separate transform? but is tightly coupled (at least unit tests)?

maybe add markers in code, can be compiled away or jitted away for run to log, etc sth like this (then will need to confirm used variable really is mentioned marker, so this or this may be useful). how about any tracing?

markers can facilitate real self documenting code.

ps. maybe incorporate this

irisjae commented 6 years ago

shame because browser js cant be tested in node repl.

can we have a common js environment?