Git Product home page Git Product logo

eth2.0-test-generators's Introduction

Eth2.0 Test Generators

This repository contains generators that build tests for Eth 2.0 clients. The test files themselves can be found in ethereum/eth2.0-tests.

Whenever a release is made, the new tests are automatically built and eth2TestGenBot commits the changes to the test repository.

How to add a new test generator

In order to add a new test generator that builds New Tests, put it in a new directory new_tests at the root of this repository. Next, add a new target $(TEST_DIR)/new_tests to the makefile, specifying the commands that build the test files. Note that new_tests is also the name of the directory in which the tests will appear in the tests repository later. Also, add the new target as a dependency to the all target. Finally, add any linting or testing commands to the circleci config file if desired to increase code quality. All of this should be done in a pull request to the master branch.

To deploy new tests to the testing repository, create a release tag with a new version number on Github. Increment the major version to indicate a change in the general testing format or the minor version if a new test generator has been added. Otherwise, just increment the patch version.

How to remove a test generator

If a test generator is not needed anymore, undo the steps described above and make a new release. In addition, remove the generated tests in the eth2.0-tests repository by opening a PR there.

eth2.0-test-generators's People

Contributors

jannikluhn avatar chihchengliang avatar paulhauner avatar djrtwo avatar zilm13 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.