new test framework #1

Merged
dan merged 47 commits from wip-new-framework into dev 2023-11-22 21:40:14 +01:00

47 commits

Author SHA1 Message Date
9a7ae2cec6 add WIP tag 2023-11-22 21:35:46 +01:00
012cd1d36a change working dir 2023-11-22 21:27:43 +01:00
ee1acebf3d add comments 2023-11-22 15:34:54 +01:00
aa913445f6 add important comment to conftest 2023-11-22 15:33:48 +01:00
387977a54a authentic setup is now handled via pytest plugin 2023-11-22 15:23:18 +01:00
5fea54a604 add wip wp localization test 2023-11-22 15:11:46 +01:00
0e1aaa136c use dummy test 2023-11-22 15:11:18 +01:00
493b44fe0f use new dir logic 2023-11-22 14:51:36 +01:00
746605fc62 change dir logic 2023-11-22 14:51:08 +01:00
a9850f792a fix path for _run_main_test 2023-11-22 14:45:48 +01:00
f93ea27a6f init Wrapper with session_id 2023-11-22 14:34:14 +01:00
5ce20f0b81 use new pytest command args in Runner 2023-11-22 14:33:51 +01:00
8f827d7f7b update RunnerClass initialization 2023-11-22 14:33:30 +01:00
f865cda6b4 restructure Wrapper, update TestRunner protocol 2023-11-22 14:33:00 +01:00
ea51e508d7 update docstring and argname of Dirmanager 2023-11-22 14:23:35 +01:00
0d1dd4ca17 update fixtures in conftest, add --tests_dir and --session_id parser options 2023-11-22 14:23:17 +01:00
d4e9a50ca6 move dirmanager to its own file 2023-11-22 14:04:24 +01:00
4534ee892b add logging 2023-11-22 14:02:38 +01:00
9da2f2526d use DirManager 2023-11-22 14:02:29 +01:00
c794d330ab add code for different runners 2023-11-22 13:23:47 +01:00
18c695d178 improve dir creation 2023-11-22 13:14:12 +01:00
f277d95f2c move test dir creation to main.py 2023-11-22 12:53:09 +01:00
a7778b0e5e add envfiles as submodule 2023-11-22 12:35:32 +01:00
25a087db9d add authentik setup, this is base for all other testing 2023-11-22 12:30:36 +01:00
65aa461d5a add runner for authentik 2023-11-22 12:30:13 +01:00
3cb78cb2a5 add more stuff to pyproject.toml 2023-11-22 12:30:04 +01:00
2e3e92c538 rename to main 2023-11-22 12:29:52 +01:00
4b6da547b8 disable main test, improve defualt conditions 2023-11-22 12:22:42 +01:00
d5b9eda7b1 add comment to conftest 2023-11-22 12:22:20 +01:00
cde80e5110 add v and rp arguments in run_pytest 2023-11-22 12:20:44 +01:00
9207d88176 WIP manage test artifacts in unique folders via global fixtures in conftest 2023-11-22 12:20:31 +01:00
336a82cd24 change line length to 120 2023-11-22 11:44:27 +01:00
9306da813b add creds 2023-11-22 11:36:44 +01:00
14c0c073e4 improve typing 2023-11-21 22:19:33 +01:00
c7d0ba9273 improve typing 2023-11-21 22:16:11 +01:00
1faaf4700a refactoring 2023-11-21 22:09:39 +01:00
fa4c840374 move conftest to root level 2023-11-21 21:58:53 +01:00
534eb229c9 refactoring and cleanup 2023-11-21 21:54:25 +01:00
224ad2ea85 everything working 2023-11-21 21:50:40 +01:00
3fe9ed28db cleanup 2023-11-21 21:39:19 +01:00
bee347f13f move show_files 2023-11-21 21:35:01 +01:00
2d9ca21fec add Runner class, test infrastructure 2023-11-21 21:34:06 +01:00
85200a6322 add icecream to requirements for debugging 2023-11-21 21:33:53 +01:00
2cd2c3c9c5 add bash commands 2023-11-21 21:00:45 +01:00
8a252df91f change install order 2023-11-21 21:00:14 +01:00
9411fe61ee initial commit 2023-11-21 15:20:43 +01:00
b84bd80842 move previous work 2023-11-21 15:19:33 +01:00