After attending the DDSteps tutorial at jaoo in Aarhus, I finally got some time to do some experiments of my own.
My first experiment is using ant as build mechanism, and separate folderstructures for source and for testsource (as is common).
Naively I put the excel file besides the testClass source, only to experience that it couldn't be found.
My first attempt to make it work, was to put the excel file in a properties folder (which is included in the classpath) - this didn't work though.
I ended up solving this, by storing the excel file besides the testClass source (as the documentation recommends), and have ant copy the excel file to the testClass target folder with this ant target:
So now I have the first simple DDSteps testClass under my belt! - The next step is to begin testing a website via the userinterface with DDSteps, this is where I see the biggest potential in DDSteps, so I'm looking forward to see that work too.
Thanks Björn and Adam, for letting us know about DDSteps.
Nice regards
Henrik Martinussen
Hi everybody!
After attending the DDSteps tutorial at jaoo in Aarhus, I finally got some time to do some experiments of my own.
My first experiment is using ant as build mechanism, and separate folderstructures for source and for testsource (as is common).
Naively I put the excel file besides the testClass source, only to experience that it couldn't be found.
My first attempt to make it work, was to put the excel file in a properties folder (which is included in the classpath) - this didn't work though.
I ended up solving this, by storing the excel file besides the testClass source (as the documentation recommends), and have ant copy the excel file to the testClass target folder with this ant target:
<!-- Copy ddsteps excel files, holding testdata/testparameters -->
<target name="Copy.testProperties" depends=""
description="copy testproperties to target">
<copy todir="$
<fileset dir="$
<include name="*/.xls"/>
</fileset>
</copy>
</target>
So now I have the first simple DDSteps testClass under my belt! - The next step is to begin testing a website via the userinterface with DDSteps, this is where I see the biggest potential in DDSteps, so I'm looking forward to see that work too.
Thanks Björn and Adam, for letting us know about DDSteps.
Nice regards
Henrik Martinussen