Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

Upload parametrized test to testrail


#1

Hi)
Is it possible to upload paremetrized test to the testrail?

For example:

@pytest.mark.parametrize('users_count', [1, 2])
@pytest.mark.idempotent_id('1fc6f276-5d0b-46ca-906c-08c8e8f2752f')
def test_delete_users(self, users_count, create_users):
    ...
    ...

So, I have a test.
On the testrail side I have a suit with particular test ID.
Is it possible to upload all test-results?


#2

Hi Sergii,

Thanks for your posting! It would be possible to use custom fields to implement this and then submit a different test result per parameter (combination). This is a manual process but you can add custom fields as follows:

http://docs.gurock.com/testrail-userguide/howto-fields

Cheers,
Tobias