Example of Dapp designed applying BDD and definition of tests with Cucumber
- Solidity for smart contracts
- solcjs for compilation of smart contracts
- cucumber for test definition and execution
npm install
npm run compile
npm test
/contracts
Sources of smart contracts (solidity code)
/build
Json files that contain abi and bytecode generated in the compilation of smart contracts. Use npm run compile for compilation.
/features
Feature files that define user stories
/features/step_definitions
Tests related with features