Skip to content

Commit

Permalink
Add example test for issue #32
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Sep 13, 2024
1 parent 37f211e commit f663186
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/test/resources/feature/call_same_feature.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Feature: the very basic test to run by Karate

@ignore @execute-test
Scenario: Power of two
* def expected = expectedValue
* def powValue = testValue
* def actual = powValue * powValue
* assert actual == expected

Scenario: Verify math
* def expectedValue = 4
* def testValue = 2
* call read('@execute-test') { expectedValue: #(expectedValue), testValue: #(testValue) }

0 comments on commit f663186

Please sign in to comment.