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: 3 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 309
simonc/memfs An in-memory file system simulator used to test Ruby applications without modifying external storage 322
phpspec/phpspec A framework for defining and executing unit tests with behavior-driven development (BDD) capabilities for PHP applications. 1,880
juniper/vqfx10k-vagrant A tool for setting up and testing Juniper Networks' vQFX10K device in a virtual environment. 138
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. 4
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. 59
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. 474
nubank/state-flow A testing framework for composing and reusing individual test steps with state as a reference 341
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,631