Registering Typemock Isolator License
The typemockregister task registers the Typemock Isolator license.
To register the Typemock Isolator license:
•Add the typemockregister task to the project file with the following optional parameters:
|
Parameter |
Description |
Type |
Mandatory/Optional |
|
Company |
The Company Name received in your license |
String |
Mandatory |
|
License |
The activation key received in your license |
String |
Mandatory |
|
Specifies whether to run Typemock Isolator tests without an installation on the server |
Boolean |
Optional |
For example:
<project name="Typemock Isolator Examples" default="test" basedir=".">
<property name="typemock.dir" value="C:\Program Files\TypeMock\TypeMock" />
<target name="register">
<!-- Dynamically load TypeMock task. -->
<loadtasks assembly="${typemock.dir}\TypeMock.NAntBuild.dll" />
<typemockregister company ="TypeMock" license="TypeMockLicense" AutoDeploy=”True”/>
</target>
</project>