From: Choy R. <ch...@us...> - 2005-02-13 10:50:05
|
Update of /cvsroot/dotnetmock/dotnetmock/doc/reference/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4090/doc/reference/src Added Files: dynamic.xml faq.xml index.xml start.xml static.xml xunit.xml Log Message: Initial skeleton for DotNetMock DocBook documentation. --- NEW FILE: start.xml --- <chapter id="start"> <title>Getting Started</title> <section id="start-install"> <title>Installation</title> <para> Installation is simple. Just download the release zip and unzip into the directory of your choice. If you have InfoZip, the command could look something like: <screen>c:\temp> unzip DotNetMock-0.7.4.zip -d c:\sw\dotnet\dotnetmock-0.7.4</screen> Afterwards, you could register the assemblies with the GAC. </para> </section> <section id="start-using"> <title>Using DotNetMock in Your Projects</title> <para> To use <classname>DynamicMock</classname>s or create your own custom mocks, you only need to add a reference to <literal>DotNetMock.dll</literal>. </para> </section> </chapter> --- NEW FILE: static.xml --- <chapter id="static"> <title>Static Mocks</title> <section id="static-introduction"> <title>Introduction</title> <para> Static mocks are mock objects that are pre-defined ... </para> </section> </chapter> --- NEW FILE: xunit.xml --- <appendix id="xunit-support"> <title>Support for xUnit Testing Frameworks</title> <para> DotNetMock supports three xUnit testing frameworks ... </para> </appendix> --- NEW FILE: dynamic.xml --- <chapter id="dynamic"> <title>Dynamically Generated Mocks</title> <section id="dynamic-introduction"> <title>Introduction</title> <para> Dynamic mocks are mock objects created by dynamically implementing ... </para> </section> </chapter> --- NEW FILE: faq.xml --- <appendix id="faq"> <title>FAQ</title> <qandaset defaultlabel="qanda"> <qandadiv id="faq-xunit"> <title>Supported xUnit Testing Frameworks</title> <qandaentry id="other-xunit"> <question> <para> I don't use either of the supported frameworks, so can I provide my own testing framework implementation? </para> </question> <answer> <para> Not at this time. The only frameworks supported are the three above. If you would like to use your own framework, drop the developers a line at <literal>dot...@li...</literal> and we will see what we can do. </para> </answer> </qandaentry> </qandadiv> </qandaset> </appendix> --- NEW FILE: index.xml --- <?xml version='1.0' encoding="iso-8859-1"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "../../docbook/lib/docbook-dtd/docbookx.dtd" [ <!ENTITY preface SYSTEM "preface.xml"> <!ENTITY start SYSTEM "start.xml"> <!ENTITY dynamic SYSTEM "dynamic.xml"> <!ENTITY static SYSTEM "static.xml"> <!ENTITY xunit SYSTEM "xunit.xml"> <!ENTITY faq SYSTEM "faq.xml"> ]> <book> <bookinfo> <title>DotNetMock - Mock Objects for .NET</title> <subtitle>Reference Documentation</subtitle> <releaseinfo>Version 0.7.4</releaseinfo> <pubdate>February 12, 2005 - (Work in progress)</pubdate> <authorgroup> <author> <firstname>Griffin</firstname> <surname>Caprio</surname> </author> <author> <firstname>Choy</firstname> <surname>Rim</surname> </author> </authorgroup> <legalnotice> <para> Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically. </para> </legalnotice> </bookinfo> <toc/> <preface id="preface-ack"> <title>Acknowledgements</title> <para> This project and many others owe a debt of gratitude to Chris Bauer (of the <ulink url="http://www.hibernate.org/">Hibernate</ulink> project team), who prepared and adapted the DocBook-XSL software used to create Hibernate's reference guide, allowing us to create this guide. </para> </preface> <preface id="preface-intro"> <title>Introduction</title> <para> DotNetMock is a framework and library which facilitates the use of mock objects for unit testing on the .NET platform. It supports the dynamic creation of mock objects and the development of custom mock objects. It also contains a library of pre-built mock objects for typical purposes. It integrates with the NUnit, MbUnit and csUnit testing frameworks. </para> </preface> &start; &dynamic; &static; &xunit; &faq; </book> |