This README would briefly explain the usage of the Gorums rwregister.
go generate
go test -v
-
startserver.sh in server folder can start 3 servers.
-
startclient.sh in client folder can run a client.
-
Need to start servers first
- quorumcalltests.sh in registerQspecs can run tests for the system.
- quorumQCCoverage.sh in registerQspecs can run tests for the system and get coverages.
- stop3servers.sh can stop servers.
- results will be stored in results folder.
- quorumQFtests.sh can run the tests for quorum functions
- quorumQFCoverage.sh can run the tests and get coverages of quorum functions.
xmlReader.go in reader is the Go code to read test cases from xml files.
Quorum functions (ReadQF and WriteQF) are implemented in qspecs.go in the registerQspecs.
quorumcalltests.sh and quorumQFtests.sh can start tests. coverage.sh can run an example of the test and get the result of coverage.