You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2018/07/27 09:39:11 UTC

[sling-whiteboard] branch master updated: Karate notes

This is an automated email from the ASF dual-hosted git repository.

bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 8b98cf4  Karate notes
8b98cf4 is described below

commit 8b98cf496a2b17bf43ab3400d1229597b21bd23d
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Fri Jul 27 11:39:09 2018 +0200

    Karate notes
---
 literate-http-testing/README.md | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/literate-http-testing/README.md b/literate-http-testing/README.md
index 3de8c2a..3cbcd9d 100644
--- a/literate-http-testing/README.md
+++ b/literate-http-testing/README.md
@@ -1,4 +1,16 @@
-TODO - describe this in more detail!
+Literate HTTP Testing
+=====================
 
 I'm experimenting with tools for writing HTTP tests that are readable enough to serve
 as reference documentation for out APIs.
+
+To run these tests, start a Sling trunk instance on port 8080 and run `mvn clean test`.
+
+The Karate HTML output (like `target/surefire-reports/TEST-sling.postservlet.createcontent.createContent.html`) then displays the detailed HTTP interactions, it's very useful for debugging the tests.
+
+Karate notes
+------------
+
+Karate docs are at https://github.com/intuit/karate
+
+A comment on Karate vs. Spock (by the author of Karate) is available at https://stackoverflow.com/questions/45352358/karate-vs-spock