AOSharedServiceLibrary
|
AOSSL Uses Travis-CI for automated builds and tests, for full history please see the Travis CI Homepage.
The current Travis configuration builds the central library, tests, and benchmarks.
Then, Travis runs the below specified tests. If you are adding tests to the library, they will need to be added to the .travis.yml file in order to be run automatically. It does not automatically run the benchmarks.
Once we follow the commands in the quickstart for building from source, we have a set of executables that end with "test" which run some basic tests on the libraries to ensure they function correctly. Please note that the Redis, Couchbase, Consul, and Mongo tests will require an active server/agent for the respective service.
./cli_test name=test ./consul_test ./couchbase_test ./http_test ./logging_test ./redis_test ./uuid_test ./zmqio_test ./http_server_test ./mongo_test
You can hit the http_server_test with curl from the command line with: curl --request GET 'http://0.0.0.0:12345/'
We will also have a set of benchmark programs which are built on the hayai framework. These systematically test each element within the framework to provide realistic benchmarks on any given system.
./consul_benchmark ./http_benchmark ./logging_benchmark ./redis_benchmark ./uuid_benchmark ./zmqio_benchmark
Please continue on to the Dependencies section of the documentation to see a discussion of the libraries dependencies for building on other operating systems.