James Whittaker recently blogged about his view of the future of test case reuse. He points out that reusable tests (usually automated ones) are heavily dependent on the local machine environment. That is: a reusable test might work on Sally’s computer, but not on Greg’s.
He argues that in the future, this problem will be solved:
In the future we will solve this problem with a concept I call environment-carrying tests (nod to Brent Jensen). Test cases of the future will be written in such a way that they will encapsulate their environment needs within the test case using virtualization. Test cases will be written within virtual capsules that embed all the necessary environmental dependencies so that the test case can run on whatever machine you need it to run on.





Recent Comments