mnwill117's avatar
mnwill117
Occasional Contributor
10 days ago
Status:
New Idea

Create assertion 'templates' so you can apply & edit an assertion to multiple test steps

Right now, assertions are individually managed as unique entries on each test step. I can 'clone' an assertion to multiple other test steps/cases/suites, but it is only a copy. If i have an assertion i want to apply multiple places, it would be EXTREMELY helpful to create a template assertion and apply it to all the relevant test steps. 

This way if i need to modify the assertion across the board, i could update it in one place rather than editing each individual assertion for every. single. test. step. 

1 Comment

  • TNeuschwanger's avatar
    TNeuschwanger
    Community Leader

    Hello mnwill117​ 

    just a comment here...  I accomplish this now by using an assertion contained in a groovy script...  I have one groovy script that contains an assertion.  From any testcase in any suite of a project, I can call the one groovy script that contains the assertion.  I can modify the assertion across the board in one place.