Skip to content

An emulator of the github api implemented in clojure to test your github app

License

Notifications You must be signed in to change notification settings

nubank/clj-github-mock

Repository files navigation

clj-github-mock

current version:

Current Version

docs: Found on cljdoc

clj-github-mock provides a ring like handler that emulates the github api. Since most clojure http servers are compatible with the ring protocol, you can use the handler with either ring itself or http-kit or pedestal for example. Most commonly though you will use the handler combined with a library that fakes http requests like clj-http-fake or http-kit-fake. That way you can test that your code that interacts with the github api is working by using clj-github-mock behind the scenes.

Important: clj-github-mock does not cover the entire github api and should not be used as the only way to test your github application. Make sure you test your code against the real github api itself.

About

An emulator of the github api implemented in clojure to test your github app

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •