* Added test for fs.read when attempting to read a file that does not exist
* Added test for fs.read when attempting to read a file that does not exist
* Modified read test for non-existent file to act more similar to earlier tests
* Added check in read test for error code
* implemented first two tests of fs.promises.read
* simplified the 2nd fs.promises.read test
* implemented test on file position update for fs.promises.read
* implemented directory read failure test for fs.promises.read
* implemented test to check the return type to be a Promise in fs.promises.read
* fixed indentation and also fixed a catch statement to allow all code to be reachable
* made tests more promise-friendly
* applied some style changes and test changes as per @rdittrich97 suggestions
* removed lines that are unnecessary for promise-based testing and syntactically simplified some function definitions
* removed more unnecessary check lines in directory check fail test
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