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 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 OpsDb

Pytest Run

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

(db4e_venv) dan@sally:~/dev/Db4E/tests$ poetry run pytest -v
 .
 .
db/test_ops_db.py::test_initialized_init PASSED                                                       [ 32%]
db/test_ops_db.py::test_uninitialized_init PASSED                                                     [ 33%]
db/test_ops_db.py::test_add_start_event PASSED                                                        [ 35%]
db/test_ops_db.py::test_add_stop_event PASSED                                                         [ 36%]
db/test_ops_db.py::test_add_tui_log_line PASSED                                                       [ 38%]
db/test_ops_db.py::test_add_tui_log_line_data PASSED                                                  [ 39%]
db/test_ops_db.py::test_current_recs PASSED                                                           [ 40%]
db/test_ops_db.py::test_clear_tui_log PASSED                                                          [ 42%]
db/test_ops_db.py::test_get_open_cur_uptime_rec PASSED                                                [ 43%]
db/test_ops_db.py::test_get_total_uptime_rec PASSED                                                   [ 45%]
db/test_ops_db.py::test_get_tui_log PASSED                                                            [ 46%]
db/test_ops_db.py::test_get_tui_log_lines_since PASSED                                                [ 47%]
db/test_ops_db.py::test_update_current PASSED                                                         [ 49%]
 .
 .
 .   
(db4e_venv) dan@sally:~/dev/Db4E/tests$ 

Started on DeplMgr tests

This is just the beginning of the tests for this module.

Pytest Run

Pytest snippet:

mgr/test_depl_mgr.py::test_add_deployment_monerod PASSED                                              [ 93%]
mgr/test_depl_mgr.py::test_add_deployment_monerod_remote PASSED                                       [ 94%]
mgr/test_depl_mgr.py::test_add_deployment_p2pool PASSED                                               [ 96%]
mgr/test_depl_mgr.py::test_add_deployment_p2pool_remote PASSED                                        [ 97%]
mgr/test_depl_mgr.py::test_add_deployment_xmrig PASSED                                                [ 98%]
mgr/test_depl_mgr.py::test_add_deployment_xmrig_remote PASSED                                         [100%]

I’m up to 77 tests now…

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 ↑