Skip to content

Run Solidity Unit Tests

Compare
Choose a tag to compare
@ioedeveloper ioedeveloper released this 01 Sep 12:16
· 36 commits to main since this release

Action For Running Solidity Unit Tests

npm version
npm
npm
GitHub
contributions welcome

This GitHub action enables you to run Solidity Unit Tests as part of your continuous integration and deployment process.
To know more about Remix IDE Solidity Unit Testing, visit Remix IDE official documentation, Remix Tests Library.

Example workflow: Sample

name: solidity-unit-testing-action
on: [push]

jobs:
  run_sample_test_job:
    runs-on: ubuntu-latest
    name: A job to run sample solidity tests
    steps:
      - name: Checkout
         uses: actions/checkout@v2
      - name: Environment Setup
         uses: actions/setup-node@v3
         with:
             node-version: 14.17.6
      - name: Run SUT Action
        uses: EthereumRemix/sol-test@v1
        with:
            test-path: 'sample/tests'
            compiler-version: '0.8.15'

License

MIT © 2018-22 Remix Team