Commit Graph

11 Commits

Author SHA1 Message Date
Alan K 04d612c97b add filer-test.js to repo 2014-09-30 16:16:15 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 5c9ba07706 Test for Filer as AMD module use in require.js with Buffer, regression issue 225 2014-07-02 15:17:22 -04:00
Kieran Sedgwick 4efa4a91f3 Review fixes from PR #195 2014-05-26 12:31:34 -04:00
Kieran Sedgwick 3ef2a4e07d Split the distribution of Filer into two files
The AMD-module system Filer uses can't handle require() calls that reference a node module. By creating two distributions we allow the node version to use a full implementation of RequireJS, which gracefully falls back to Node's require() when RequireJS can't find the module in its registered paths.
2014-05-22 23:04:08 -04:00
David Humphrey 9426a700b5 Generate separate filer for testing in node so we don't overwrite dist/filer.js 2014-05-22 23:04:08 -04:00
Kieran Sedgwick 3cbc0d2440 Grunt automation of build/tag/publish
Filer's build process was a multi-step process, and grunt is powerful enough to automate it. Now we have :)
2014-05-20 16:48:45 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 4812861dcf Refactor tests: switch to Mocha, make providers and filer source configurable. Fixes #59
Make provider configurable via URL. Convert fs.close test to use it. Still have timing issue with WebSQL.

Indent fix

Use bower to install mocha

Converting to mocha, Memory provider failing still in fs.close

Got mocha tests working with all providers

Converted more tests

Move more tests over to mocha

Move more tests over

Move more tests over

More tests moved over

More tests converted

More tests moved over

Move more tests over

Move last tests over

Convert more tests

Remove Jasmine and other unnecessary test files, rename tests/spec/regression to tests/bugs

Get tests running with grunt+mocha+phantomjs

Add docs on new tests
2014-02-14 15:44:57 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 2a8705ed0b Add fs.readFile, fs.writeFile with tests 2013-11-08 15:33:44 -05:00
Alan Kligman ced78ca040 Added gruntfile, now builds optimized library. 2013-03-11 15:14:26 -04:00
Alan Kligman 238b37c467 Updated example. 2012-10-15 11:30:45 -04:00
Alan Kligman 46821604fb Initial commit. 2012-10-07 01:42:58 -04:00