bigchaindb/acceptance
David Dashyan d9dfa98819
Flask update (#2700)
* Flask security update

The Pallets Project Flask before 1.0 is affected by: unexpected memory
usage. The impact is: denial of service.
The attack vector is: crafted encoded JSON data. The fixed version is:
1. NOTE: this may overlap CVE-2018-1000656.

Signed-off-by: David Dashyan <mail@davie.li>

* Make send_naughty_tx error regex more robust

Signed-off-by: David Dashyan <mail@davie.li>
2020-06-02 14:36:56 +07:00
..
python Flask update (#2700) 2020-06-02 14:36:56 +07:00
README.md Replace headers (#2683) 2020-04-06 11:52:18 +02:00

README.md

Acceptance test suite

This directory contains the acceptance test suite for BigchainDB.

The suite uses Docker Compose to set up a single BigchainDB node, run all tests, and finally stop the node. In the future we will add support for a four node network setup.

Running the tests

It should be as easy as make test-acceptance.

Note that make test-acceptance will take some time to start the node and shutting it down. If you are developing a test, or you wish to run a specific test in the acceptance test suite, first start the node with make start. After the node is running, you can run pytest inside the python-acceptance container with:

docker-compose run --rm python-acceptance pytest <use whatever option you need>

Writing and documenting the tests

Tests are sometimes difficult to read. For acceptance tests, we try to be really explicit on what the test is doing, so please write code that is simple and easy to understand. We decided to use literate-programming documentation. To generate the documentation run:

make doc-acceptance