laposa / test-portal

Laravel Application integrated with Github Actions
https://laposa.ie
MIT License
1 stars 0 forks source link

Design database structure #5

Closed norbertlaposa closed 4 months ago

norbertlaposa commented 4 months ago

First version:

test_session

test_session_service

test_session_service_suite

test_session_service_suite_test

test_session_service_run

Simplified version

test_session

test_session_item

test_session_run

MartinMiksovskyLaposa commented 4 months ago

This is the DB structure we put together with @Szkandy back in Feb 2023. This one counts on test versioning, that means it shows the test codebase like in Status page, where you can expand and inspect what actually ran.

I would suggest to not remove this feature and adapt it to Test Cases laters, like in next milestone. Because having "the checklist" for manual test cases & automated tests bodies (codebase) is imo a good info to preserve.

But definitely we can make it light as much as possible atm, to avoid unnecessary difficulties, it's up to you.

image (1)

norbertlaposa commented 4 months ago

Let's wait for https://github.com/laposa/test-portal/issues/12 before designing db structure.

norbertlaposa commented 4 months ago

Latest version is:

test_session

test_session_item

suite_url and test_url can be computed by appending suite_name and test_name

test_session_run