myfs-test
v0.1.14
Published
Functional tests for the FUSE-based file system MyFS
Downloads
33
Readme
myfs-test
Functional tests for the FUSE-based file system MyFS (private repository)
Getting Started
These instructions will get you a copy of the project up and running on your local machine.
Prerequisites
Software
- Node.js - JavaScript run-time environment
Environment Variables
MYFS_BIN_MKFS
- Path to themkfs
executableMYFS_BIN_MOUNT
- Path to themount
executable
VS Code Extensions
This project is intended to be used with Visual Studio Code and the following extensions are recommended:
Running the Tests
⚠️ The MyFS binaries are not built automatically before running the tests. So if the sources of MyFS have changed or haven't been built at all, make sure you run the build before running the tests. Otherwise the old binaries will be tested or the tests will fail altogether. ⚠️
With the Terminal
Run the following command in the directory containing the package.json
file:
npm test
With VS Code
This project includes task definitions for Visual Studio Code. Just open the folder containing the package.json
file in VS Code and then run the task Run tests
.
Debugging with VS Code
- Set a breakpoint in a file inside the
src
folder - Go to
src/spec
and open the.spec
file you want to run - Run the debugger (by default
F5
)
Built With
- AVA - Futuristic test runner for Node.js
- TypeScript - Typed superset of JavaScript that compiles to plain JavaScript
Authors
- Robin Hartmann - Initial work - robin-hartmann