Commit graph

15 commits

Author SHA1 Message Date
1e66766973 add TestResult, all test executions return TestResult 2023-12-11 14:29:18 +01:00
131477557d more refactoring 2023-12-11 12:03:31 +01:00
0c8999b070 huge refactor of runner functions 2023-12-11 11:51:32 +01:00
dd5fe859e8 rename _execute_tests_list 2023-12-11 11:34:05 +01:00
cf4cfdc4c9 improve imports 2023-12-11 02:05:29 +01:00
7c1f1ff5d4 records -> results 2023-12-11 00:43:12 +01:00
093818bc81 results to status 2023-12-11 00:41:07 +01:00
de6a71b9c8 fixup 2023-12-11 00:07:53 +01:00
edc8c9a2f5 remove RunnerMeta, save path to class var instead 2023-12-11 00:00:16 +01:00
7ec75cd6a0 Use RunnerMeta to save path along with Runner subclass 2023-12-10 23:53:49 +01:00
3ffa2f8ecd turn create_result_file into classmethod 2023-12-10 18:00:36 +01:00
016b88a68d testing-html-merge (#15)
* add tests for merge_html_reports function

Reviewed-on: local-it-infrastructure/e2e_tests#15
Co-authored-by: Daniel <d.brummerloh@gmail.com>
Co-committed-by: Daniel <d.brummerloh@gmail.com>
2023-12-09 15:28:48 +01:00
873bf73ae8 add api testing (#14)
* add fixture to make api calls with authentification

* add authentik test that checks the status of all blueprints

* add option to append any kind of data to html report

Reviewed-on: local-it-infrastructure/e2e_tests#14
Co-authored-by: Daniel <d.brummerloh@gmail.com>
Co-committed-by: Daniel <d.brummerloh@gmail.com>
2023-12-09 12:34:25 +01:00
d1ff1183a5 refactoring (#13)
* general project refactoring

* various small improvements

* improve imap fixture with helper functions and typing

* add wordpress send email setup

* add wordpress receive email test

* add various documentation

Reviewed-on: local-it-infrastructure/e2e_tests#13
Co-authored-by: Daniel <d.brummerloh@gmail.com>
Co-committed-by: Daniel <d.brummerloh@gmail.com>
2023-12-08 18:17:31 +01:00
8685688698 installable package (#9)
* turn repo into installable package (pip install -e .)

* add hatchling build packend

* call it pytest-abra

* add pytest entrypoint, so that it gets loaded automatically if installed (and pytest is run)

* make fixtures optional, so that pytest can still be used in other context

* add cli script -> you can now directly run "pytest-abra" in console

Reviewed-on: local-it-infrastructure/e2e_tests#9
Co-authored-by: Daniel <d.brummerloh@gmail.com>
Co-committed-by: Daniel <d.brummerloh@gmail.com>
2023-12-07 11:32:01 +01:00
Renamed from abratest/runner.py (Browse further)