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 ...
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.
BaseDbHere’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$
DeplDbThis work is already paying off: I’ve not discovered my fourth bug (and fixed it) as a result of my testing.
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$
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 ...
My relentless search for a formal job…
My relentless search for a formal job…
My relentless search for a formal job…
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 ...
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...
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 ...
After being on a waiting list for 2.5 years, the City of Hamilton assigned me to a local family doctor!
My relentless search for a formal job…
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 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...
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...
My relentless search for a formal job…
I noticed a couple of broken links on my Blog site. Instead of just fixing them on the static homepage, I replaced the theme with the same minimal mistakes...
After spending the better part of two days fighting with minimal mistakes, I ripped everything out and started fresh. I’ve created a stripped down GitHub Pag...
In keeping with my current art sprint… Listening
In keeping with my current art sprint, I’ve started a new painting. This is the very first drop of oil paint on canvas.
I have a mini-aquaponics setup with a couple of gravel beds hosting lettuce, miniature roses, brocolli and more. The primary tank houses a community of guppi...
Time Description 15:35 Changed the post title name and formatting convention and updated all previous posts....
And BAM….new blog post is born!!! :)