0.1.14 • Published 5 years ago

myfs-test v0.1.14

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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 the mkfs executable
  • MYFS_BIN_MOUNT - Path to the mount executable

VS Code Extensions

This project is intended to be used with Visual Studio Code and the following extensions are recommended:

  • ESLint - Integrates ESLint JavaScript into VS Code
  • TSLint - TSLint support for Visual Studio Code

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

  1. Set a breakpoint in a file inside the src folder
  2. Go to src/spec and open the .spec file you want to run
  3. 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

0.1.14

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago