vfsStream

Test file system

A virtual file system wrapper stream that can be used in unit tests to mock the real file system.

vfsStream is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. It can be used with any unit test framework, like PHPUnit or SimpleTest.

GitHub

1k stars
41 watching
102 forks
Language: PHP
last commit: 4 months ago
Linked from 3 awesome lists

filesystemphptestingvfsstream

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
adlawson/php-vfs A virtual file system API for PHP that mimics traditional file system behavior and integrates with other libraries 299
c2fo/vfs A pluggable and extensible virtual file system library for Go 311
simonc/memfs An in-memory file system simulator used to test Ruby applications without modifying external storage 321
phpspec/phpspec A framework for defining and executing unit tests with behavior-driven development (BDD) capabilities for PHP applications. 1,883
juniper/vqfx10k-vagrant A tool for setting up and testing Juniper Networks' vQFX10K device in a virtual environment. 136
referefref/honeyfs Creates a fake file system using a large language model to mimic real-world file systems and lure attackers into thinking they have access to a legitimate system. 5
team-firebugs/burp-lfi-tests A collection of test cases and tools to help identify potential vulnerabilities in web applications by probing for LFI (Local File Inclusion) weaknesses. 60
bernardolins/fake_server An HTTP server simulator that provides deterministic responses for testing purposes. 72
bitovi/funcunit A functional testing framework for JavaScript applications 571
bodil/purescript-test-unit An asynchronous unit test runner for PureScript 87
vfile/vfile A small virtual file format with metadata and lint messages for text processing. 475
nubank/state-flow A framework for building and composing test flows using a state monad in Clojure 344
vcaesar/tt A tool for writing and running tests in Go with colorful output and benchmarking capabilities. 8
bittorrent/sqltorrent A custom VFS for SQLite that allows querying an sqlite database within a torrent. 281
vgmstream/vgmstream A software library for decoding and playing various video game audio formats. 1,652