Commit Graph

28 Commits

Author SHA1 Message Date
Jon
f525411ace refactor(test): remove xfail during pytest_generate_tests before parameterizing
ref: #938
2025-08-04 16:58:17 +09:30
Jon
283051a4ad chore(test): Add capability to recurse array fixture to return the correct object in the expected format
ref: #904
2025-07-29 13:48:48 +09:30
Jon
2027f3fe97 test: Add depreciated models to be excluded from coverage
ref: #833
2025-07-04 08:40:35 +09:30
Jon
a7a1d85978 test(access): Tenant Model Tests
ref: #805 #790
2025-07-04 08:40:31 +09:30
Jon
dbdfe4e6c0 refactor(core): Move CenturionModel logic to Mixin
ref: #805 #767
2025-07-04 08:40:31 +09:30
Jon
3d9cde3b25 chore: Add support for confftest for parameterized tests to have no values
ref: #789
2025-07-04 08:40:28 +09:30
Jon
616f37fca2 test(core): Add fixtures for api permission tests
ref: #780 #730
2025-07-04 08:40:26 +09:30
Jon
1d31a259df refactor(tests): Create global model fixtures
ref: #780 #729
2025-07-04 08:40:26 +09:30
Jon
79b8cdd26b chore: add fixture to setup user perms for api tests
ref: #776 #730 #735
2025-07-04 08:40:25 +09:30
Jon
2b6a15cf8f test(core): Add Functional model Test Suite for CenturionAuditModel
ref: #773 #515
2025-07-04 08:40:25 +09:30
Jon
660da485cd test(core): Add Base Centurion model Functional Test Suite
ref: #773 #767
2025-07-04 08:40:25 +09:30
Jon
16bbb3328b test(core): Initial Unit Model Test Cases for CenturionAudit Model
ref: #772 #759
2025-07-04 08:40:24 +09:30
Jon
3e6d9233ca chore(pytest): rename pytest_configure -> pytest_report_header
ref: #770
2025-07-04 08:40:24 +09:30
Jon
06ad1fec5e chore(pytest): Create and use fixture of Fresh DB instead of migrations for testing
ref: #770
2025-07-04 08:40:24 +09:30
Jon
95281d35eb chore(pytest): give parameterized tests the option to use functions as a value
ref: #770
2025-07-04 08:40:24 +09:30
Jon
2d7335ff85 refactor(access): Rename model Organization -> Tenant
ref: #756 #505
2025-05-15 02:44:53 +09:30
Jon
820755b9e0 chore(test): introduce further randomness to class fixtures so as not to create duplicate errors
ref: #754
2025-05-13 23:30:19 +09:30
Jon
b0cb9f6fd0 chore(test): Add global support not to generate tests that are marked skip or class skip
ref: #753 #739
2025-05-12 04:04:32 +09:30
Jon
5b133c951d chore(test): Add a global fixture to simulate a viewset
ref: #753 #723 #730
2025-05-12 02:53:19 +09:30
Jon
6841b30a77 test: Support variables that were defined as properties.
ref: #741
2025-05-05 20:34:23 +09:30
Jon
6c91cb008c chore(itam): just add this fucking thing cause vscode is a cunt and wont pick up the test correctly as its using an old value that does not exist even though the fucking code works directly from the console via pytest.
ref: #741 #692
2025-05-05 04:56:30 +09:30
Jon
92bc4aec43 fix(test): correct typo in attribute parameterized_
ref: #734 #729
2025-05-03 04:51:02 +09:30
Jon
64757826da refactor(test): Update test parameterization
ref: #733 #730 #729
2025-05-01 01:22:22 +09:30
Jon
99211b7505 test: Fixture for creating model with random data
ref: #731 #730
2025-04-24 12:41:16 +09:30
Jon
daf30de835 chore: correct tests so they function and cleanup correctly
ref: #731
2025-04-23 18:33:10 +09:30
Jon
42bea64ff5 test(core): API fields Unit Test Suite
ref: #731 #730
2025-04-22 22:25:23 +09:30
Jon
0a630cf51a test(core): API Permission Test Cases for ticket_base model
ref: #731 #723
2025-04-22 22:21:42 +09:30
Jon
6289fad8ad chore: migrate from pytest.ini -> pyproject.toml
ref: #731 #730
2025-04-22 21:44:05 +09:30