Skip to content

Exploring Unit Test functionality with JDK17 and Web3-Unit

Notifications You must be signed in to change notification settings

pekola/demo-web3j-unit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Demo for web3 based unit tests

This very little demo project shows how you can interact against a solidity contract in java with standard unit test tool

  1. Run mvn clean install
  2. The Web3 compiler plugin ẁill be downloaded
  3. Add your contracts.sol under src/main/contracts
  4. Run mvn web3j:generate-sources - contracts will be compiled into java code and occur in folder java/org.web3.model
  5. Run mvn clean install
  6. Run tests in test folder

About

Exploring Unit Test functionality with JDK17 and Web3-Unit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published