Click here to Skip to main content
Click here to Skip to main content
Articles » Database » NoSQL » General » Downloads
 
Add your own
alternative version

RavenDB - An Introduction

, , 28 Apr 2010 CPOL
An introduction to RavenDB - a new open source .NET document database using .NET 4.0 and VS 2010
Raven_DB.zip
RavenDB
.gitignore
ayende-open-source.snk
build
default.ps1
psake.ps1
psake_ext.ps1
Raven.Client.Tests
Document
Properties
Shard
Transactions
Raven.Client
Client
Document
Properties
Shard
ShardStrategy
ShardAccess
ShardResolution
ShardSelection
Util
Raven.Database
Data
Defaults
Exceptions
Extensions
Indexing
Json
Linq
PrivateExtensions
Properties
Storage
Tasks
Raven.FileStorage
Properties
Raven.Importer
Properties
Raven.Sample.ShardClient
Properties
Raven.Sample.SimpleClient
Properties
Raven.Scenarios
Properties
Scenarios
AddDocument_AddIndex_QueryIndexForDoc.saz
AfterTooManyErrorsDocumentIndexingForTheIndexWillBeDisabled.saz
AfterTooManyErrorsIndexWillBeDisabled.saz
BatchAndGetDocuments.saz
BatchQueryById.saz
BrowseIndex.saz
CanGenerateIdentityValues.saz
CanGetMetadataWhenLookingAtAllDocs.saz
CanGetMetadataWhenLookingAtAnIndex.saz
CannotDeleteStaticWithoutAccruateETag.saz
CanPutAndDeleteDocumentWithETag.saz
CanUseCollectionNamesInIndexes.saz
DeleteStatic.saz
DeletingDocumentThatDoesNotExistsAlwaysWorks.saz
DeletingWithBadETagWillFail.saz
IndexingErrorsWillShowUpInTheStats.saz
IndexingFunctionWithMultipleResultsPerSourceDocument.saz
PatchDocument.saz
PutAndGetAttachment.saz
PutAndGetDocument.saz
PutAndGetDocumentWithMetadataViaHeaders.saz
PutAndGetIndex.saz
PuttingDocumentUsingTransaction.saz
QueryMapReduceIndex.saz
QueryUsingIndex.saz
RecordHeadersForStatics.saz
SelectFieldsFromIndex.saz
TryingToUpdateAttachmentWithBadETagWillFail.saz
TryingToUpdateDocumentWithBadETagWillFail.saz
TryingToUpdateDocumentWithNonGuidETagWillFail.saz
UpdateAttachemtnUsingETag.saz
UpdatingDocsWillUpdateMapReduceResult.saz
WhenDeletingDocsWillUpdateMapReduceIndex.saz
WillDeleteDocumentFromIndex.saz
WillSupport304.saz
WillSupport304ForAttachments.saz
Raven.Server
Defaults
default.json
PowerShellProvider
Properties
Responders
WebUI
css
smoothness
images
ui-bg_flat_0_aaaaaa_40x100.png
ui-bg_flat_75_ffffff_40x100.png
ui-bg_glass_55_fbf9ee_1x400.png
ui-bg_glass_65_ffffff_1x400.png
ui-bg_glass_75_dadada_1x400.png
ui-bg_glass_75_e6e6e6_1x400.png
ui-bg_glass_95_fef1ec_1x400.png
ui-bg_highlight-soft_75_cccccc_1x100.png
ui-icons_222222_256x240.png
ui-icons_2e83ff_256x240.png
ui-icons_454545_256x240.png
ui-icons_888888_256x240.png
ui-icons_cd0a0a_256x240.png
favicon.ico
images
ajax-loader.gif
bgR.png
c1_i1.png
c2_i2.png
c2_i3.png
c2_i4.png
c2_i5.png
c2_i6.png
c3_i7.png
footer_bg.png
footerContainerBgR.png
header_bg.png
jsonEditor
doc.gif
docNode.gif
docNodeLast.gif
docNodeLastFirst.gif
folder.gif
folderNode.gif
folderNodeFirst.gif
folderNodeLast.gif
folderNodeLastFirst.gif
folderNodeOpen.gif
folderNodeOpenFirst.gif
folderNodeOpenLast.gif
folderNodeOpenLastFirst.gif
folderOpen.gif
vertLine.gif
logo.png
midBox1.png
midBox2Arrow.png
sideBarArrow.png
sideBarListBoxBottom.png
sideBarListBoxTop.png
submit.png
topNavSep.png
js
jstree
themes
default
dot_for_ie.gif
icons.png
throbber.gif
icons
txt.png
rdb.jsonEditor
JSONTemplates
Raven.Tests
Indexes
Linq
Patching
Properties
Storage
Transactions
Views
Raven.Tryouts
Properties
RavenDB.suo
Release
SharedLibs
Esent.Interop.dll
Esent.Interop.pdb
ICSharpCode.NRefactory.dll
ICSharpCode.SharpZipLib.dll
log4net.dll
Lucene.Net.dll
Lucene.Net.pdb
Newtonsoft.Json.dll
Rhino.Mocks.dll
SgmlReaderDll.dll
SgmlReaderDll.pdb
System.Management.Automation.dll
xunit.dll
xunit.extensions.dll
Tools
ILMerge.exe
xUnit
xunit.console.exe
xunit.dll
xunit.extensions.dll
xunit.gui.exe
xunit.installer.exe
XUnit.NAntTasks.dll
xunit.runner.msbuild.dll
xunit.runner.resharper.dll
xunit.runner.tdnet.dll
xunit.runner.utility.dll
zip.exe
Utilities
Binaries
ILMerge.exe
Newtonsoft.Json.dll
Raven.DefaultDatabase.Creator.exe
Raven.DefaultDatabase.Creator.pdb
Raven.Merger.exe
Raven.Merger.pdb
SgmlReaderDll.dll
SgmlReaderDll.pdb
Raven.DefaultDatabase.Creator
Properties
Raven.Merger
Properties
<?xml version="1.0"?>
<doc>
    <assembly>
        <name>xunit.runner.utility</name>
    </assembly>
    <members>
        <member name="T:Xunit.ExecutorWrapper">
            <summary>
            Wraps calls to the Executor. Used by runners to perform version-resilient test
            enumeration and execution.
            </summary>
        </member>
        <member name="T:Xunit.IExecutorWrapper">
            <summary>
            Wraps calls to the Executor. Used by runners to perform version-resilient test
            enumeration and execution.
            </summary>
        </member>
        <member name="M:Xunit.IExecutorWrapper.EnumerateTests">
            <summary>
            Enumerates the tests in an assembly.
            </summary>
            <returns>The fully-formed assembly node of the XML</returns>
        </member>
        <member name="M:Xunit.IExecutorWrapper.GetAssemblyTestCount">
            <summary>
            Gets a count of the tests in the assembly.
            </summary>
            <returns>Returns the number of tests, if known; returns -1 if not known. May not represent
            an exact count, but should be a best effort guess by the framework.</returns>
        </member>
        <member name="M:Xunit.IExecutorWrapper.RunAssembly(System.Predicate{System.Xml.XmlNode})">
            <summary>
            Runs all the tests in an assembly.
            </summary>
            <param name="callback">The callback which is called as each test/class/assembly is
            finished, providing XML nodes that are part of the xUnit.net XML output format.
            Test runs can be cancelled by returning false to the callback. If null, there are
            no status callbacks (and cancellation isn't possible).</param>
            <returns>Returns the fully-formed assembly node for the assembly that was just run.</returns>
        </member>
        <member name="M:Xunit.IExecutorWrapper.RunClass(System.String,System.Predicate{System.Xml.XmlNode})">
            <summary>
            Runs all the tests in the given class.
            </summary>
            <param name="type">The type.</param>
            <param name="callback">The callback which is called as each test/class is
            finished, providing XML nodes that are part of the xUnit.net XML output format.
            Test runs can be cancelled by returning false to the callback. If null, there are
            no status callbacks (and cancellation isn't possible).</param>
            <returns>Returns the fully-formed class node for the class that was just run.</returns>
        </member>
        <member name="M:Xunit.IExecutorWrapper.RunTest(System.String,System.String,System.Predicate{System.Xml.XmlNode})">
            <summary>
            Runs a single test in a class.
            </summary>
            <param name="type">The type to run.</param>
            <param name="method">The method to run.</param>
            <param name="callback">The callback which is called as each test/class is
            finished, providing XML nodes that are part of the xUnit.net XML output format.
            Test runs can be cancelled by returning false to the callback. If null, there are
            no status callbacks (and cancellation isn't possible).</param>
            <returns>Returns the fully-formed class node for the class of the test that was just run.</returns>
        </member>
        <member name="M:Xunit.IExecutorWrapper.RunTests(System.String,System.Collections.Generic.List{System.String},System.Predicate{System.Xml.XmlNode})">
            <summary>
            Runs several tests in a single class.
            </summary>
            <param name="type">The type.</param>
            <param name="methods">The methods to run.</param>
            <param name="callback">The callback which is called as each test/class is
            finished, providing XML nodes that are part of the xUnit.net XML output format.
            Test runs can be cancelled by returning false to the callback. If null, there are
            no status callbacks (and cancellation isn't possible).</param>
            <returns>Returns the fully-formed class node for the class of the tests that were just run.</returns>
        </member>
        <member name="P:Xunit.IExecutorWrapper.AssemblyFilename">
            <summary>
            Gets the full pathname to the assembly under test.
            </summary>
        </member>
        <member name="P:Xunit.IExecutorWrapper.XunitVersion">
            <summary>
            Gets the version of xunit.dll used by the test assembly.
            </summary>
        </member>
        <member name="M:Xunit.ExecutorWrapper.#ctor(System.String,System.String,System.Boolean)">
            <summary>
            Initializes a new instance of the <see cref="T:Xunit.ExecutorWrapper"/> class.
            </summary>
            <param name="assemblyFilename">The assembly filename.</param>
            <param name="configFilename">The config filename. If null, the default config filename will be used.</param>
            <param name="shadowCopy">Set to true to enable shadow copying; false, otherwise.</param>
        </member>
        <member name="M:Xunit.ExecutorWrapper.Dispose">
            <summary>
            Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
            </summary>
        </member>
        <member name="M:Xunit.ExecutorWrapper.EnumerateTests">
            <inheritdoc/>
        </member>
        <member name="M:Xunit.ExecutorWrapper.GetAssemblyTestCount">
            <inheritdoc/>
        </member>
        <member name="M:Xunit.ExecutorWrapper.RunAssembly(System.Predicate{System.Xml.XmlNode})">
            <inheritdoc/>
        </member>
        <member name="M:Xunit.ExecutorWrapper.RunClass(System.String,System.Predicate{System.Xml.XmlNode})">
            <inheritdoc/>
        </member>
        <member name="M:Xunit.ExecutorWrapper.RunTest(System.String,System.String,System.Predicate{System.Xml.XmlNode})">
            <inheritdoc/>
        </member>
        <member name="M:Xunit.ExecutorWrapper.RunTests(System.String,System.Collections.Generic.List{System.String},System.Predicate{System.Xml.XmlNode})">
            <inheritdoc/>
        </member>
        <member name="P:Xunit.ExecutorWrapper.AssemblyFilename">
            <inheritdoc/>
        </member>
        <member name="P:Xunit.ExecutorWrapper.XunitVersion">
            <inheritdoc/>
        </member>
        <member name="T:Xunit.IRunnerLogger">
            <summary>
            Represents a logger used by <see cref="T:Xunit.TestRunner"/> and <see cref="T:Xunit.XmlLoggerAdapter"/>.
            </summary>
        </member>
        <member name="M:Xunit.IRunnerLogger.AssemblyFinished(System.String,System.Int32,System.Int32,System.Int32,System.Double)">
            <summary>
            Called when the assembly has finished running.
            </summary>
            <param name="assemblyFilename">The assembly filename.</param>
            <param name="total">The total number of tests run.</param>
            <param name="failed">The number of failed tests.</param>
            <param name="skipped">The number of skipped tests.</param>
            <param name="time">The time taken to run, in seconds.</param>
        </member>
        <member name="M:Xunit.IRunnerLogger.AssemblyStart(System.String,System.String)">
            <summary>
            Called when the assembly has started running.
            </summary>
            <param name="assemblyFilename">The assembly filename.</param>
            <param name="xUnitVersion">The version of xunit.dll.</param>
        </member>
        <member name="M:Xunit.IRunnerLogger.ClassFailed(System.String,System.String,System.String,System.String)">
            <summary>
            Called when a class failure is encountered (i.e., when a fixture from
            IUseFixture throws an exception during construction or <see cref="M:System.IDisposable.Dispose"/>.
            </summary>
            <param name="className">The full type name of the class.</param>
            <param name="exceptionType">The full type name of the exception.</param>
            <param name="message">The exception message.</param>
            <param name="stackTrace">The exception stack trace.</param>
            <returns></returns>
        </member>
        <member name="M:Xunit.IRunnerLogger.ExceptionThrown(System.String,System.Exception)">
            <summary>
            Called when an exception is thrown (i.e., a catastrophic failure of the testing system).
            </summary>
            <param name="assemblyFilename">The assembly filename.</param>
            <param name="exception">The exception that was thrown.</param>
        </member>
        <member name="M:Xunit.IRunnerLogger.TestFailed(System.String,System.String,System.String,System.Double,System.String,System.String,System.String)">
            <summary>
            Called when a test fails.
            </summary>
            <param name="name">The description name of the test.</param>
            <param name="type">The full type name of the test class.</param>
            <param name="method">The name of the method.</param>
            <param name="duration">The time spent running the test, in seconds.</param>
            <param name="exceptionType">The full type name of the exception.</param>
            <param name="message">The exception message.</param>
            <param name="stackTrace">The exception stack trace.</param>
        </member>
        <member name="M:Xunit.IRunnerLogger.TestFinished(System.String,System.String,System.String,System.Double,System.String)">
            <summary>
            Called when a test has finished running, regardless of what the result was.
            </summary>
            <param name="name">The description name of the test.</param>
            <param name="type">The full type name of the test class.</param>
            <param name="method">The name of the method.</param>
            <param name="duration">The time spent running the test, in seconds.</param>
            <param name="output">The output of the test during its run.</param>
            <returns>Return true to continue running tests; return false to stop the test run.</returns>
        </member>
        <member name="M:Xunit.IRunnerLogger.TestPassed(System.String,System.String,System.String,System.Double)">
            <summary>
            Called when a test has passed.
            </summary>
            <param name="name">The description name of the test.</param>
            <param name="type">The full type name of the test class.</param>
            <param name="method">The name of the method.</param>
            <param name="duration">The time spent running the test, in seconds.</param>
        </member>
        <member name="M:Xunit.IRunnerLogger.TestSkipped(System.String,System.String,System.String,System.String)">
            <summary>
            Called when a test was finished.
            </summary>
            <param name="name">The description name of the test.</param>
            <param name="type">The full type name of the test class.</param>
            <param name="method">The name of the method.</param>
            <param name="reason">The skip reason.</param>
        </member>
        <member name="M:Xunit.IRunnerLogger.TestStart(System.String,System.String,System.String)">
            <summary>
            Called when a test has started running.
            </summary>
            <param name="name">The description name of the test.</param>
            <param name="type">The full type name of the test class.</param>
            <param name="method">The name of the method.</param>
            <returns>Return true to continue running tests; return false to stop the test run.</returns>
        </member>
        <member name="M:Xunit.IRunnerLogger.TransformStart(System.String,System.String)">
            <summary>
            Called when a transform is being run against the assembly XML.
            </summary>
            <param name="outputType">The transform's output type, if known; null if not.</param>
            <param name="filename">The filename the transform is writing to, if known;
            null if the results are not being written to file.</param>
        </member>
        <member name="T:Xunit.TestRunnerResult">
            <summary>
            The result of a test run via <see cref="T:Xunit.TestRunner"/>.
            </summary>
        </member>
        <member name="F:Xunit.TestRunnerResult.Passed">
            <summary>
            All tests passed, with no class-level failures
            </summary>
        </member>
        <member name="F:Xunit.TestRunnerResult.Failed">
            <summary>
            At least one test failed, or there was a class-level failure
            </summary>
        </member>
        <member name="F:Xunit.TestRunnerResult.NoTests">
            <summary>
            There were no tests to run
            </summary>
        </member>
        <member name="T:Xunit.IResultXmlTransform">
            <summary>
            Represents a transformation of the resulting assembly XML into some output format.
            </summary>
        </member>
        <member name="M:Xunit.IResultXmlTransform.Transform(System.String)">
            <summary>
            Transforms the given assembly XML into the destination format.
            </summary>
            <param name="xml">The assembly XML.</param>
        </member>
        <member name="P:Xunit.IResultXmlTransform.Filename">
            <summary>
            Gets the output filename, if known; returns null if the output isn't done to file.
            </summary>
        </member>
        <member name="P:Xunit.IResultXmlTransform.OutputType">
            <summary>
            Gets the type of the output.
            </summary>
        </member>
        <member name="T:Xunit.TestRunner">
            <summary>
            Runs tests in an assembly, and transforms the XML results into calls to
            the provided <see cref="T:Xunit.IRunnerLogger"/>.
            </summary>
        </member>
        <member name="M:Xunit.TestRunner.#ctor(Xunit.IExecutorWrapper,Xunit.IRunnerLogger)">
            <summary>
            Initializes a new instance of the <see cref="T:Xunit.TestRunner"/> class.
            </summary>
            <param name="executorWrapper">The executor wrapper.</param>
            <param name="logger">The logger.</param>
        </member>
        <member name="M:Xunit.TestRunner.RunAssembly">
            <summary>
            Executes the tests in the assembly.
            </summary>
            <returns>Returns true if there were no failures; return false otherwise.</returns>
        </member>
        <member name="M:Xunit.TestRunner.RunAssembly(System.Collections.Generic.IEnumerable{Xunit.IResultXmlTransform})">
            <summary>
            Executes the tetss in the assembly, and then executes the transforms with the
            resulting assembly XML.
            </summary>
            <param name="transforms">The transforms to execute.</param>
            <returns>Returns true if there were no failures; return false otherwise.</returns>
        </member>
        <member name="M:Xunit.TestRunner.RunClass(System.String)">
            <summary>
            Runs the class.
            </summary>
            <param name="type">The type.</param>
            <returns></returns>
        </member>
        <member name="M:Xunit.TestRunner.RunTest(System.String,System.String)">
            <summary>
            Runs a single test in a test class.
            </summary>
            <param name="type">The full name of the class.</param>
            <param name="method">The name of the method.</param>
        </member>
        <member name="M:Xunit.TestRunner.RunTests(System.String,System.Collections.Generic.List{System.String})">
            <summary>
            Runs the list of tests in a test class.
            </summary>
            <param name="type">The full name of the class.</param>
            <param name="methods">The names of the methods to run.</param>
        </member>
        <member name="T:Xunit.NullTransformer">
            <summary>
            An implementation of <see cref="T:Xunit.IResultXmlTransform"/> which writes the
            XML to a file without any transformation applied.
            </summary>
        </member>
        <member name="M:Xunit.NullTransformer.#ctor(System.String)">
            <summary>
            Initializes a new instance of the <see cref="T:Xunit.NullTransformer"/> class.
            </summary>
            <param name="filename">The output filename.</param>
        </member>
        <member name="M:Xunit.NullTransformer.Transform(System.String)">
            <inheritdoc/>
        </member>
        <member name="P:Xunit.NullTransformer.Filename">
            <inheritdoc/>
        </member>
        <member name="P:Xunit.NullTransformer.OutputType">
            <inheritdoc/>
        </member>
        <member name="T:Xunit.XslStreamTransformer">
            <summary>
            An implementation of <see cref="T:Xunit.IResultXmlTransform"/> which writes the
            XML to a file after applying the XSL stylesheet in the given stream.
            </summary>
        </member>
        <member name="M:Xunit.XslStreamTransformer.#ctor(System.IO.Stream,System.String,System.String)">
            <summary>
            Initializes a new instance of the <see cref="T:Xunit.XslStreamTransformer"/> class.
            </summary>
            <param name="xslStream">The stream with the XSL stylesheet.</param>
            <param name="filename">The output filename.</param>
            <param name="outputType">The output type.</param>
        </member>
        <member name="M:Xunit.XslStreamTransformer.Transform(System.String)">
            <inheritdoc/>
        </member>
        <member name="P:Xunit.XslStreamTransformer.Filename">
            <inheritdoc/>
        </member>
        <member name="P:Xunit.XslStreamTransformer.OutputType">
            <inheritdoc/>
        </member>
        <member name="T:Xunit.XmlLoggerAdapter">
            <summary>
            Parses the XML nodes from the version resilient runner facility and converts
            them into calls against the provided <see cref="T:Xunit.IRunnerLogger"/>.
            </summary>
        </member>
        <member name="M:Xunit.XmlLoggerAdapter.LogNode(System.Xml.XmlNode,Xunit.IRunnerLogger)">
            <summary>
            Logs a result XML node. Maybe be any kind of XML node.
            </summary>
            <param name="node">The node to be logged.</param>
            <param name="logger">The logger.</param>
            <returns>Returns true if the user wishes to continue running tests; returns false otherwise.</returns>
        </member>
        <member name="M:Xunit.XmlLoggerAdapter.LogAssemblyNode(System.Xml.XmlNode,Xunit.IRunnerLogger)">
            <summary>
            Logs the assembly node by calling <see cref="M:Xunit.IRunnerLogger.AssemblyFinished(System.String,System.Int32,System.Int32,System.Int32,System.Double)"/>.
            </summary>
            <param name="assemblyNode">The assembly node.</param>
            <param name="logger">The logger.</param>
        </member>
        <member name="M:Xunit.XmlLoggerAdapter.LogClassNode(System.Xml.XmlNode,Xunit.IRunnerLogger)">
            <summary>
            Logs the class node by calling <see cref="M:Xunit.IRunnerLogger.ClassFailed(System.String,System.String,System.String,System.String)"/> (if the class failed).
            The exception type was added in xUnit.net 1.1, so when the test assembly is linked against
            xUnit.net versions prior to 1.1, the exception type will be null.
            </summary>
            <param name="classNode">The class node.</param>
            <param name="logger">The logger.</param>
            <returns>Returns true if the user wishes to continue running tests; returns false otherwise.</returns>
        </member>
        <member name="M:Xunit.XmlLoggerAdapter.LogStartNode(System.Xml.XmlNode,Xunit.IRunnerLogger)">
            <summary>
            Logs the start node by calling <see cref="M:Xunit.IRunnerLogger.TestStart(System.String,System.String,System.String)"/>. The start node was added
            in xUnit.net 1.1, so it will only be present when the test assembly is linked against xunit.dll
            version 1.1 or later.
            </summary>
            <param name="startNode">The start node.</param>
            <param name="logger">The logger.</param>
            <returns>Returns true if the user wishes to continue running tests; returns false otherwise.</returns>
        </member>
        <member name="M:Xunit.XmlLoggerAdapter.LogTestNode(System.Xml.XmlNode,Xunit.IRunnerLogger)">
            <summary>
            Logs the test node by calling <see cref="M:Xunit.IRunnerLogger.TestFinished(System.String,System.String,System.String,System.Double,System.String)"/>. It will also call
            <see cref="M:Xunit.IRunnerLogger.TestPassed(System.String,System.String,System.String,System.Double)"/>, <see cref="M:Xunit.IRunnerLogger.TestFailed(System.String,System.String,System.String,System.Double,System.String,System.String,System.String)"/>, or
            <see cref="M:Xunit.IRunnerLogger.TestSkipped(System.String,System.String,System.String,System.String)"/> as appropriate.
            </summary>
            <param name="testNode">The test node.</param>
            <param name="logger">The logger.</param>
            <returns>Returns true if the user wishes to continue running tests; returns false otherwise.</returns>
        </member>
    </members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Authors

No Biography provided

Paul B.

United States United States
I've been a software developer since 1996 and have enjoyed C# since 2003. I have a Bachelor's degree in Computer Science and for some reason, a Master's degree in Business Administration. I currently do software development contracting/consulting.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.141223.1 | Last Updated 28 Apr 2010
Article Copyright 2010 by Ayende @ Rahien, Paul B.
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid