# Molid - A mock solid server for local testing

**URL:** https://forum.solidproject.org/t/molid-a-mock-solid-server-for-local-testing/2447
**Category:** Developer Experience
**Created:** [November 23, 2019, 11:16am UTC](https://forum.solidproject.org/t/molid-a-mock-solid-server-for-local-testing/2447 "2019-11-23T11:16:19Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![A\_A](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/a_a/32/786_2.png) [@A\_A](https://forum.solidproject.org/u/A_A)
#### Post date: [November 25, 2019, 7:52am UTC](https://forum.solidproject.org/t/molid-a-mock-solid-server-for-local-testing/2447/2 "2019-11-25T07:52:47Z")

</div>

Thanks for sharing this with us, I think that mock servers can be pretty useful for developing. I wonder how it compares to other tools for that I know of.

In the update of solid-file-client we currently use [solid-auth-cli](https://github.com/jeff-zucker/solid-auth-cli) to test all fetch methods. solid-auth-cli provides a fetch method which accepts `app://ls/foo/bar` urls for in-memory storage of a pod, `file://foo/bar` urls for using the file storage as a pod, and `http[s]` urls for using a remote (or localhost) pod. In our case we setup a test folder in the memory/file storage and then run our tests against it.  
Advantages I see compared to Molid: can programmatically create test setup. can use GET/POST/DELETE/… requests. good for unit tests  
Disadvantages: requires the app to use the solid-auth-cli fetch method. some setup is nice to have (if there is interest I can extract our setup logic into a separate package. It includes a TestFolderGenerator for creating and resetting folders)

Also, I’ve recently made a post [here](http://forum.solidproject.org/t/local-solid-pod/2351) about [solid-local-pod](https://github.com/otto-aa/solid-local-pod), which does pretty much the same thing as molid as far as I see. You can run parts of your filesystem as a localhost pod, supporting GET/DELETE/POST/…, but no authentication. So I’d be interested what the differences to molid would be. I guess starting it is slightly more complicated, though I don’t think that would be an obstacle to use it.

---

_[View the full topic](https://forum.solidproject.org/t/molid-a-mock-solid-server-for-local-testing/2447)._
