rabbah commented on a change in pull request #3956: Ow karate
URL: 
https://github.com/apache/incubator-openwhisk/pull/3956#discussion_r257476721
 
 

 ##########
 File path: tests/functional/karate_tests/README.md
 ##########
 @@ -0,0 +1,52 @@
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+# openwhisk-karate
+This directory contains all the Test Cases needed to do various forms of 
automated test on the OpenWhisk environments.These tests will also complement 
the existing Scala based Test cases.
+These tests are based on the BDD model and enabled quick on-boarding of the 
tests.
+It is based of karate (https://github.com/intuit/karate) framework.
+
+
+### How to run functional test
+1. Navigate to the root folder
+2. Use the following command to run the above selected suite: `./gradlew clean 
test --tests org.apache.openwhisk.smoketests.SmokeTestRunner` (This will run 
all the tests in org.apache.openwhisk.smoketests package.)
+
+### How to add more tests
+1. Select a package(Type of test).Example Smoke test
+2. Add a new feature file which has your test with the following tags `@smoke`
+
+### How to add a new test type
+1. Create a package in `src/test/java`.
+2. We can create test types like regression, sanity etc.For example 
`org.apache.openwhisk.sanitytests`
 
 Review comment:
   space after etc.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to