Commit Graph

5 Commits (1d088fb9062bf67d7285a801a5c1630740d1357f)

Author SHA1 Message Date
arlolra 04fac19822 Split tests. 2010-02-25 11:41:11 -08:00
Ryan 3fed1a0954 Use v8's test runner 2009-06-22 14:08:42 +02:00
Ryan f6a7fe2657 Implement onExit() hook for modules.
onExit() is similar to the onLoad() callback. onExit() is called on each
module just before the process exits. This can be used to check state in
unit tests, but not to perform I/O. The process will forcibly exit as soon
as all of the onExit callbacks are made.
2009-06-08 16:17:33 +02:00
Ryan b6fe4aec50 Module system refactor
There is one major API change in the refactor: filename extensions are now
required when requiring or including modules.

Added extra test to test-module-loading.js.
2009-06-08 15:34:15 +02:00
Ryan 408526a1c1 debugging/improving the module framework 2009-04-21 13:52:21 +02:00