Ontology TS Test is Ontology Smart contract Test framework written in Typescript. This Test framework can be used directly through CLI interface or as embedded component in your project.
- External compilation of C# and Python Smart Contracts
- Deployment to Test | Main | Private Net
- Invokation of Smart Contract method
- Test framework methods for unit testing
- Full CLI interface
Examples of in code usage can be found at https://github.com/OntologyCommunityDevelopers/ontology-ts-test-demo For direct use, see CLI interface.
- Node
- Npm
Execute these commands in the project's root directory:
git clone 'https://github.com/OntologyCommunityDevelopers/ontology-ts-test.git'
cd ontology-ts-vm
npm install
This will build the project with minimum polyfilling for better debug experience.
npm run build:dev
You will get the packaged code under '/lib'.
npm run build:prod
You will get the packaged code under '/lib'
npm install -g
You will be able to call 'ontology-ts-test' command directly. Use option -h for further help.
- TypeScript - Used language
- Node.js - JavaScript runtime for building
- Matus Zamborsky - Initial work - Backslash47
This project is licensed under the ISC License - see the LICENSE.md file for details