automation: test env cleanup #288

Closed
opened 2022-02-23 07:48:31 +00:00 by pavel.baykov · 5 comments
pavel.baykov commented 2022-02-23 07:48:31 +00:00 (Migrated from gitlab.com)
  1. move main test script to peerplays-utils/peerplays-qa-environment, and rename it to end-to-end-tests.py
  2. create folder end-to-end-tests, this is where all python code will be
  3. split the code into multiple files, for our test building blocks and tests
    3.a one file for bitcoin cli commands
    3.b one file for hive cli commands
    3.c one file for peerplays cli command
    3.d one file per test, let me know if this is impossible for some reason
1. move main test script to peerplays-utils/peerplays-qa-environment, and rename it to end-to-end-tests.py 2. create folder end-to-end-tests, this is where all python code will be 3. split the code into multiple files, for our test building blocks and tests 3.a one file for bitcoin cli commands 3.b one file for hive cli commands 3.c one file for peerplays cli command 3.d one file per test, let me know if this is impossible for some reason
pavel.baykov commented 2022-02-23 07:48:31 +00:00 (Migrated from gitlab.com)

assigned to @pavel.baykov

assigned to @pavel.baykov
pavel.baykov commented 2022-02-25 13:18:58 +00:00 (Migrated from gitlab.com)

added 14h of time spent

added 14h of time spent
pavel.baykov commented 2022-02-25 13:35:14 +00:00 (Migrated from gitlab.com)

to init with no test execution, from ./peerplays-utils/peerplays-qa-environment

pytest -s -v --rundockers=no --initdockers=no --shutdowndockers=no --skipall=yes

to init with no test execution, from ./peerplays-utils/peerplays-qa-environment pytest -s -v --rundockers=no --initdockers=no --shutdowndockers=no --skipall=yes
pavel.baykov commented 2022-02-25 13:36:11 +00:00 (Migrated from gitlab.com)

to run without init:

pytest -s -v --order-dependencies --rundockers=no --initdockers=no --shutdowndockers=no

to run without init: pytest -s -v --order-dependencies --rundockers=no --initdockers=no --shutdowndockers=no
pavel.baykov commented 2022-02-25 13:38:21 +00:00 (Migrated from gitlab.com)

it’s possible to run specific test, for instance:

pytest -s -v --order-dependencies --rundockers=no --initdockers=no --shutdowndockers=no end_to_end_tests/test_Create_Son_With_Btc_Address.py

it’s possible to run specific test, for instance: pytest -s -v --order-dependencies --rundockers=no --initdockers=no --shutdowndockers=no end_to_end_tests/test_Create_Son_With_Btc_Address.py
serkixenos (Migrated from gitlab.com) closed this issue 2022-03-04 22:24:47 +00:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Peerplays_Blockchain/peerplays_migrated#288
No description provided.