Created
April 8, 2015 12:46
-
-
Save alexanderjamesking/e30bca500ce8d6e8dd29 to your computer and use it in GitHub Desktop.
Hello World Wiremock Clojure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(import com.github.tomakehurst.wiremock.WireMockServer) | |
(import com.github.tomakehurst.wiremock.core.WireMockConfiguration) | |
(def wiremock-config (.port (new WireMockConfiguration) 11111)) | |
(def wiremock-server (new com.github.tomakehurst.wiremock.WireMockServer wiremock-config)) | |
(.start wiremock-server) | |
(.stop wiremock-server) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment