What is the purpose of Checkpoints

Why do I need a checkpoint, what’s a scenario where I’d use one?

real use? did not find…
TC:
prereq.1: i got table of results i want to check during test
prereq.2: make snapshot of prereq.1
1. Do test that changes data
2. Compare data to snapshot/checkpoint

there may be some real usage when doing backend testing, e.g reading/writing into databases

maybe, but in that case all data on all environments needs to behave similar, since you can define checkpoint only before actual test execution, so no variety of data on dev/test/UAT environment…

it depends of the testing scope …

let’s suppose i want to test a db backup procedure … :wink:

Andrej Podhajský said:

maybe, but in that case all data on all environments needs to behave similar, since you can define checkpoint only before actual test execution, so no variety of data on dev/test/UAT environment…

Isn’t that the point of the profile exactly? Meanwhile no one should expect id’s or the like to be in a database… but perhaps a list of states

User 123 said:

Andrej Podhajský said:

maybe, but in that case all data on all environments needs to behave similar, since you can define checkpoint only before actual test execution, so no variety of data on dev/test/UAT environment…

Isn’t that the point of the profile exactly? Meanwhile no one should expect id’s or the like to be in a database… but perhaps a list of states

don’t understand neither of your points… can you try again please?

Ibus said:

it depends of the testing scope …

let’s suppose i want to test a db backup procedure … :wink:

automation on PROD? Man, you got balls! Disaster recovery plan test - i’ll do that manually since i don’t trust my own skills to not produce a bug in tests…

guys, don’t get me wrong. i’m not saying there is no TC for this feature,
i’m saying that i cannot find one useful.
there is one tiny improvement that will elevate usefulness of this feature from 1 to 10 in my eyes - ability to make data snapshot from script.
ability to compare 2 tables is great, but i need to define those tables by myself and when i need.

In your application if you have some config tables you want to check whether before and after running the testcase records doesn’t change you can use checkpoint.

Andrej Podhajský said:

Ibus said:

it depends of the testing scope …

let’s suppose i want to test a db backup procedure … :wink:

automation on PROD? Man, you got balls! Disaster recovery plan test - i’ll do that manually since i don’t trust my own skills to not produce a bug in tests…

Of-course! I am not only QA engineer, I am also devops badass.

If I break something I am fixing it too :smiley:

As for this feature … yeah, you are right, hard to find a real usage scenario … but hey, better to have options than lack of them :smiley:

to make en error - it’s so human,
to propagate it to 1000 server - that’s devops
:smiley:

1 Like

Can I use this feature to upload a snapshot to my database for specific data that i need? To basically start off with fresh data?