Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raphexion/erlmemfs
A simple in-memory filesystem inspirered and intended to be used with Bifrost.
https://github.com/raphexion/erlmemfs
bifrost erlang filesystem property-based-testing
Last synced: 17 days ago
JSON representation
A simple in-memory filesystem inspirered and intended to be used with Bifrost.
- Host: GitHub
- URL: https://github.com/raphexion/erlmemfs
- Owner: Raphexion
- License: apache-2.0
- Created: 2019-03-29T20:34:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-05T12:49:57.000Z (over 5 years ago)
- Last Synced: 2024-10-29T08:41:46.111Z (17 days ago)
- Topics: bifrost, erlang, filesystem, property-based-testing
- Language: Erlang
- Homepage:
- Size: 114 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/Raphexion/erlmemfs.svg?branch=master)](https://travis-ci.org/Raphexion/erlmemfs)
[![codecov.io](https://codecov.io/gh/Raphexion/erlmemfs/coverage.svg?branch=master)](https://codecov.io/gh/Raphexion/erlmemfs?branch=master)erlmemfs
========A simple in-memory filesystem inspirered and intended to be used
with [Bifrost](https://github.com/ryancrum/bifrost).Use property testing to test functionality.
[Property based testing](https://pragprog.com/book/fhproper/property-based-testing-with-proper-erlang-and-elixir)
Getting Started
---------------```sh
rebar3 shell{ok, Fs} = erlmemfs_sup:create_erlmemfs().
erlmemfs:make_directory(Fs, "my_folder").
erlmemfs:change_directory(Fs, "my_folder").erlmemfs:put_file(Fs, "my_file", <<1,2,3,4>>).
erlmemfs:list_files(Fs).
```Testing and cover
-----------------```sh
rebar3 proper --cover
rebar3 cover
```