Advantages/Disadvantages of automating workflows
Posted: Tue Jul 04, 2017 9:34 pm
Hi all,
I have been looking for information relating to the advantages or disadvantages of automating a workflow through an application. Unfortunately there doesn't seem to be anything readily available on the web regarding this so I thought I would post here to see if anyone has an opinion on the matter.
Context: We will be automating an android App which requires access to an external database for data.
I of course have my own beliefs that automating a workflow has several disadvantages which I will outline below. So please feel free to confirm/deny or critique.
1) Automating a workflow is more likely to be brittle - e.g a test which fails at the start will prevent your entire test from being executed.
2) A workflow tests does not lend itself to being paralleled - e.g an automated test which takes 10 min to run through the workflow can not be split across 10 machines and then take 1 minute to run.
3) Any minor change to a workflow will break the remaining tests from that point on.
4) Automating a single workflow for a particular feature generally gives less coverage as it only takes one path through the application unless you somehow manage to incorporate all of the paths into it or automate all of the workflows separately.
The above is in contrast to what I call State Based Tests which when automated are more like - Given the system is in this particular state, when I do this, this happens. These types of automated tests can be setup to run independently so no proceeding test requires the first to have passed.
Thoughts anyone?
I have been looking for information relating to the advantages or disadvantages of automating a workflow through an application. Unfortunately there doesn't seem to be anything readily available on the web regarding this so I thought I would post here to see if anyone has an opinion on the matter.
Context: We will be automating an android App which requires access to an external database for data.
I of course have my own beliefs that automating a workflow has several disadvantages which I will outline below. So please feel free to confirm/deny or critique.
1) Automating a workflow is more likely to be brittle - e.g a test which fails at the start will prevent your entire test from being executed.
2) A workflow tests does not lend itself to being paralleled - e.g an automated test which takes 10 min to run through the workflow can not be split across 10 machines and then take 1 minute to run.
3) Any minor change to a workflow will break the remaining tests from that point on.
4) Automating a single workflow for a particular feature generally gives less coverage as it only takes one path through the application unless you somehow manage to incorporate all of the paths into it or automate all of the workflows separately.
The above is in contrast to what I call State Based Tests which when automated are more like - Given the system is in this particular state, when I do this, this happens. These types of automated tests can be setup to run independently so no proceeding test requires the first to have passed.
Thoughts anyone?