Test Variations - ABAKAS
Once you have a base of test automation, it becomes easy to do variations on a test. What if I ran test X with changed configuration Y? What if I ran it with different hardware Z?
These are one of the benefits of a good test automation stack; it becomes fairly easy to run lots of variations on the same thing, and that can result in a lot of learning about how system behavior changes as various things flex. For example, I recently took a performance test we run and tweaked the setup to make it run with different memory allocations - and in not too long I had a much better understanding of how system throughput changes as a result of adding or constraining that particular resource.
This isn't the kind of test i need to run frequently. I run it every once in a while to make sure the system behavior in this area hasn't changed, but it's overkill to run it every single night with a lot of our automation.
So here's the dilemma: Do I check in the test with my modified configuration?
Pros to checking in:
Source: Test-variations - ABAKAS
These are one of the benefits of a good test automation stack; it becomes fairly easy to run lots of variations on the same thing, and that can result in a lot of learning about how system behavior changes as various things flex. For example, I recently took a performance test we run and tweaked the setup to make it run with different memory allocations - and in not too long I had a much better understanding of how system throughput changes as a result of adding or constraining that particular resource.
This isn't the kind of test i need to run frequently. I run it every once in a while to make sure the system behavior in this area hasn't changed, but it's overkill to run it every single night with a lot of our automation.
So here's the dilemma: Do I check in the test with my modified configuration?
Pros to checking in:
- Next time I run it, I'll be sure I have the same setup, so my results are comparable
- Someone else could run the same test and gather their own information from it (or a variation on it)
- Checked-in code that doesn't run is likely to get stale and stop working as other code changes around it. This goes for test code, too!
- Someone might try to run it more frequently, and that will take up a lot of machines for very little benefit
Source: Test-variations - ABAKAS
Comments
Post a Comment