calabash/calabash-android — pull request #36 by gw111zz (2012-04-13 13:56:41+00:00)
Title: Fixed bug and added new features (JUnit XML export and HTML export)

I've fixed a bug where screenshots from a later test overwrite one from an earlier test: if test1.feature and test2.feature both take screenshots on line 2, then test2.feature's screenshot overwrites test1.feature's screenshot because the filename is the same.

I've fixed this by having a test artifacts directory set. A directory is created for every test .feature file and all the screenshots are filed away in there.

I also added JUnit XML output and HTML output for the tests using the available Cucumber output formatters. These test artifacts are also placed in the test artefacts directory as well as reference images that the tests reference.

The test artifacts directory is set by setting the TEST_ARTIFACTS_DIR environment variable. If it is not set, this defaults to "results"