Files
clio/tests/unit
Sergey Kuznetsov 75354fbecd fix: CacheLoader causes crash when no cache is used (#1853)
If cache is disabled or Clio starts with and empty DB, `loader_` inside
cache is not created. So calling `CacheLoader::stop()` or
`CacheLoader::wait()` was causing crash.
2025-01-28 18:10:19 +00:00
..
2025-01-02 11:39:31 +00:00
2025-01-02 11:39:31 +00:00
2025-01-02 11:39:31 +00:00
2025-01-23 09:34:00 +00:00
2025-01-23 09:34:00 +00:00
2025-01-22 13:09:16 +00:00
2025-01-02 11:39:31 +00:00
2024-06-27 18:21:30 +01:00

Unit testing

The correctness of new implementations can be verified via running unit tests. Below are the information on how to run unit tests.

Running

To run the unit tests, first build Clio as normal, then execute ./clio_tests to run all unit tests.

Adding Unit Tests

To add unit tests, please create a separate file for the component you are trying to cover (unless it already exists) and use any other existing unit test file as an example.