https://github.com/factomproject/testing
Holds tests and testing reports for Factom
https://github.com/factomproject/testing
Last synced: 6 months ago
JSON representation
Holds tests and testing reports for Factom
- Host: GitHub
- URL: https://github.com/factomproject/testing
- Owner: FactomProject
- License: mit
- Created: 2015-07-15T17:33:38.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-02-06T17:47:20.000Z (about 7 years ago)
- Last Synced: 2025-08-02T10:50:53.748Z (8 months ago)
- Language: Go
- Size: 40.5 MB
- Stars: 5
- Watchers: 33
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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