Skip to content

Make filesystem entities more testable #2

@anupcshan

Description

@anupcshan

Currently, we have no tests at all for anything outside buddyfs.go. So, all FUSE operations are manually verified when a commit goes in (or not verified, as has been the case a bunch of times).

Make File, Directory and Block objects more testable so that each operation can be tested independently.

Look into http://godoc.org/bazil.org/fuse/fs/fstestutil for end-to-end testing. We should be able to use real FS operations here (possibly from golang/os).

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions