Giter Site home page Giter Site logo

testing's Introduction

Testing

These are tools for testing the Factom API.

  • entries holds files that

  • can be redirected as entry input for the mkchain or put command

  • are used by the Factom API Test Script for making chains and creating entries

  • full

  • contains full.sh, the Bash script for testing all the commands of the entire Factom API emphasizing boundary conditions and potential vulnerabilities

  • contains copies of both the current

    • Factom API Test Script
      • automatically executes the steps described in the:
    • Factom API Test Plan
      • describes entry conditions for the script run (what must be true of the environment for the Test Script to work properly)
      • describes all the tests executed by the Factom API Test Script
      • allows recording of the results of a particular run
      • automatically calculates test statistics for a particular run
  • get-latest-code

  • contains:

    • To-get-the-latest-API-code - step by step instructions on how to prepare a clean Factom CLI environment prior to testing and use
    • go-version.sh
      • resets
      • sets the correct go version
      • initializes the go path
      • sets the go directory
    • sweep-environment.sh
      • deletes database and temporary files
      • retrieves, compiles, and installs the latest factom, factom-cli, and factom wallet code files

Standard procedure is to:

  1. Follow the instructions in To-get-the-latest-API-code to prepare the environment and get the latest Factom API code

  2. Run full.sh, the Bash script for testing all the commands of the entire Factom API

  3. Record the results of the test run in A COPY (don't overwrite the original!!!) of the Test Plan

testing's People

Contributors

carryforward avatar drobertbaker avatar hannemennah avatar jl8610 avatar michaelbeam avatar paulsnow 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.