From 17a02127257bc596401ca0c31edad3409cf0c524 Mon Sep 17 00:00:00 2001 From: Greg Loring Date: Mon, 11 Sep 2023 08:53:09 -0600 Subject: [PATCH 1/2] bug fix --- src/rally/api.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rally/api.clj b/src/rally/api.clj index 2aaf081..d985ce4 100644 --- a/src/rally/api.clj +++ b/src/rally/api.clj @@ -39,7 +39,7 @@ (try (update response :body #(if (nil? %) % (json/parse-string % true))) (catch Exception x - (debug (.printStackTrace x)) + (when debug (.printStackTrace x)) (merge response {:body {} :parse-exception x})))) From 0ba5f1f2033106e0e711eecdfcc70f0f297f1620 Mon Sep 17 00:00:00 2001 From: Greg Loring Date: Mon, 11 Sep 2023 08:53:24 -0600 Subject: [PATCH 2/2] doc fix --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5b8e0c5..cd9d70f 100644 --- a/README.md +++ b/README.md @@ -242,11 +242,11 @@ The Rally REST API for Clojure is available on an as-is basis. Rally Software does not actively maintain or support this toolkit. If you have a question or problem, we recommend posting it to Stack Overflow: http://stackoverflow.com/questions/ask?tags=rally -##Running the tests +## Running the tests 1. Start up alm 2. Create test data 3. Back in the RallyRestAPIForClojure directory, add a `.lein-env` file containing ```{:username "ue@test.com" :password "Password" :rally-host "http://localhost:7001"}``` 4. Run `lein test` or, for a smaller subset of the tests, `lein test :only rally.api-test` or `lein test :only rally.api-test/objects-can-be-copied` - +5. Run `lein test :integration` for deftests with `^:integration` metadata.