Skip to content

pauldesmondparker/dapp-auction-with-bdd-cucumber

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dapp-auction-with-bdd-cucumber

Example of Dapp designed applying BDD and definition of tests with Cucumber

Stack

  • Solidity for smart contracts
  • solcjs for compilation of smart contracts
  • cucumber for test definition and execution

Project setup

npm install

Build Dapp smart contracts

npm run compile

Launch tests

npm test

Structure of the project

/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

About

Example of dapp using BDD and cucumber as testing tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.1%
  • Gherkin 16.6%
  • Solidity 10.3%