isaacs
85fb47c11c
Better temporary directory handling for tests.
...
Add a setUp and tearDown function to the test case class, and use it to
create and remove the test/tmp directory for each test.
TODO: amend other tests.
2010-09-09 16:43:18 -07:00
Herbert Vojčík
cf2b206a8e
More changes to tests so they really work under context module loader.
...
Plus, getting rid of test/common.js defining things in global.
2010-08-17 08:41:05 -07:00
Ryan Dahl
9fd5e3c89c
Update tests to work with module contexts
2010-07-15 14:21:31 -07:00
Ryan Dahl
5f30377bbc
Load modules in individual contexts
...
Add NODE_MODULE_CONTEXTS env var
Only one test was modified to check that this works. NEED to go through all
tests and modify them so that
NODE_MODULE_CONTEXTS=1 make test
passes.
2010-07-15 10:34:39 -07:00
Ryan Dahl
a6f904cab7
Tests should use compiled-in modules not build-dir modules
2010-03-15 08:14:51 -07:00
isaacs
5861db8a69
Remove process.mixin dependency from all tests.
2010-03-08 17:57:04 -08:00
Felix Geisendörfer
44dde5f24c
Remove fs/path globals from test suite
...
It is way too easy to not notice bugs due to those modules being
exported as globals while running the test suite.
See: http://github.com/ry/node/issues#issue/75
2010-03-08 10:20:07 -08:00
arlolra
724ccf10df
Tests on common port.
2010-02-26 12:20:10 -08:00
Ryan Dahl
b08f2af344
Update common.js path for new test layout
2010-02-25 12:01:23 -08:00
arlolra
04fac19822
Split tests.
2010-02-25 11:41:11 -08:00