This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Feature: Applciation Behaviour | |
| Sceanrio: Application behaviour under specific circumstances | |
| Given define pre-condition or initial context | |
| When define a trigger that will forge the circumstances | |
| Then define expected outcome or a result |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.junit.runner.RunWith; | |
| import cucumber.api.junit.Cucumber; | |
| import cucumber.api.CucumberOptions; | |
| @Runwith(Cucumber.class) | |
| @CucumberOptions(features="resources/features", glue="runners", | |
| tags="@Regression", plugin ="pretty") | |
| Public class runner(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.junit.runner.RunWith; | |
| import cucumber.api.junit.Cucumber; | |
| @Runwith(Cucumber.class) | |
| Public class runner(){ | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dependencies { | |
| testCompile 'io.cucumber:cucumber-java:7.13.0' | |
| testCompile 'io.cucumber:cucumber-junit:7.13.0' | |
| } | |
| repositories { | |
| mavenCentral() | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-java --> | |
| <dependency> | |
| <groupId>io.cucumber</groupId> | |
| <artifactId>cucumber-java</artifactId> | |
| <version>7.13.0</version> | |
| </dependency> | |
| <!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-junit --> | |
| <dependency> | |
| <groupId>io.cucumber</groupId> | |
| <artifactId>cucumber-junit</artifactId> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: GPL-3.0 | |
| pragma solidity >=0.4.22 <0.9.0; | |
| library TestsAccounts { | |
| function getAccount(uint index) pure public returns (address) { | |
| address[15] memory accounts; | |
| accounts[0] = 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4; | |
| accounts[1] = 0xAb8483F64d9C6d1EcF9b849Ae677dD3315835cb2; |