12/01 - 14:08 : Db4E - Ongoing Work

Continued to work on Db4E, the Database 4 Everything. This is the unified Monero XMR mining dashboard for deployment, operation and real-time analytics that I’m working on.

I’m currently focusing on creating a comprehensive test suite. Db4E has hit a high enough degree of complexity such that ad-hoc, clicking through the TUI is not sufficient to validate the correctness of the code. A test suite has become essential to support the ongoing development. Of course, a comprehensive test suite has more obvious benefits.

Completed 100% test coverage of BaseDb

Pytest Run

Here’s a snippet from poetry run pytest -v:

(db4e_venv) dan@sally:~/dev/Db4E/tests$ poetry run pytest -v
 .
 .
db/test_base_db.py::test_init PASSED                                               [  2%]
db/test_base_db.py::test_add_timestamp_data PASSED                                 [  4%]
db/test_base_db.py::test_updated_ts_column PASSED                                  [  6%]
db/test_base_db.py::test_unitialized_check_initialized PASSED                      [  8%]
db/test_base_db.py::test_initialized_check_initialized PASSED                      [ 10%]
db/test_base_db.py::test_init_db PASSED                                            [ 12%]
db/test_base_db.py::test_get_records_since PASSED                                  [ 14%]
db/test_base_db.py::test_insert_one PASSED                                         [ 16%]
db/test_base_db.py::test_initialized_sql_db_is_initialized PASSED                  [ 18%]
db/test_base_db.py::test_uninitialized_sql_db_is_initialized PASSED                [ 20%]
db/test_base_db.py::test_update_one PASSED                                         [ 22%]
db/test_base_db.py::test_upsert_records PASSED                                     [ 25%]
 .
 .
 .   
(db4e_venv) dan@sally:~/dev/Db4E/tests$ 

Completed 100% test coverage of DeplDb

This work is already paying off: I’ve not discovered my fourth bug (and fixed it) as a result of my testing.

Pytest Run

Here’s a snippet from poetry run pytest -v:

(db4e_venv) dan@sally:~/dev/Db4E/tests$ poetry run pytest -v
 .
 .
db/test_depl_db.py::test_init PASSED                                               [ 22%]
db/test_depl_db.py::test_clear_all PASSED                                          [ 24%]
db/test_depl_db.py::test_delete_deployment PASSED                                  [ 25%]
db/test_depl_db.py::test_get_deployment PASSED                                     [ 27%]
db/test_depl_db.py::test_get_deployments PASSED                                    [ 29%]
db/test_depl_db.py::test_get_deployment_by_id PASSED                               [ 31%]
db/test_depl_db.py::test_get_deployments_by_type PASSED                            [ 32%]
db/test_depl_db.py::test_get_deployment_ids_and_instances PASSED                   [ 34%]
db/test_depl_db.py::test_get_downstream PASSED                                     [ 36%]
db/test_depl_db.py::test_get_new PASSED                                            [ 37%]
 .
 .
 .   
(db4e_venv) dan@sally:~/dev/Db4E/tests$ 

2025

12/04 - 15:26 : Db4E - Ongoing Work

Continued to work on Db4E, the Database 4 Everything. This is the unified Monero XMR mining dashboard for deployment, operation and real-time analytics that ...

12/01 - 14:08 : Db4E - Ongoing Work

Continued to work on Db4E, the Database 4 Everything. This is the unified Monero XMR mining dashboard for deployment, operation and real-time analytics that ...

12/01 - 13:00 : Routine blood work

It’s Monday!! Went to my Family Doctor for routine blood work. It’s great to have a family doctor again instead of relying on walk-in clinics and the emergen...

11/30 - 23:07 : Db4E - Ongoing Work

Continued to work on Db4E, the Database 4 Everything. This is the unified Monero XMR mining dashboard for deployment, operation and real-time analytics that ...

11/28 - 01:09 : Db4E - Ongoing Work

Continued to work on Db4E, the Database 4 Everything. This is the unified Monero XMR mining dashboard for deployment, operation and real-time analytics that ...

11/27 - 21:42 : Painted - Listening

I spent a bit of time working on a painting, titled Listening. This is very much an initial draft, nowhere close to done. Also, the colors are off in this im...

11/27 - 17:35 : Cycled Downtown

I spend too much time at my desk at home. The ride downtown was a bit tough, going against the wind, but coming back was a delight! Plus I banged out a coup...

Back to top ↑