From d58fadca054d7e17eede29a0ee4c87ea7b451815 Mon Sep 17 00:00:00 2001 From: Peter Thomas Date: Wed, 25 Aug 2021 13:24:26 +0530 Subject: [PATCH] improve doc for mocks --- karate-netty/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/karate-netty/README.md b/karate-netty/README.md index 0d22582d1..5df3b4493 100644 --- a/karate-netty/README.md +++ b/karate-netty/README.md @@ -242,6 +242,8 @@ java -jar karate.jar -m my-mock.feature -p 8443 -s -c my-cert.crt -k my-key.key #### Hot Reload You can hot-reload a mock feature file for changes by adding the -W or --watch option. +Note that if you are loading from the `classpath:` your build system may need to update the file in the `target` (or `build`) folder when the source file changes. Or you could load the mock from the file-system using something like `file:src/test/java/some/folder/my.feature`. + ### Running Tests Convenient to run standard [Karate](https://github.com/intuit/karate) tests on the command-line without needing to mess around with Java or the IDE ! Great for demos or exploratory testing. Even HTML reports are generated !