Format:
Recent snippets matching tags of NUnit
<?xml version="1.0" encoding="utf-8"?> <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> <CodeSnippet Format="1.0.0"> <Header> <Title>Nunit Test Class</Title> <Shortcut>ntestc</Shortcut> <Description>Code snippet for a nunit test class</Description> <Author>Jason Rowe</Author> <SnippetTypes> <SnippetType>Expansion</SnippetType>
231 Views
no comments
<?xml version="1.0" encoding="utf-8"?> <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> <CodeSnippet Format="1.0.0"> <Header> <SnippetTypes> <SnippetType>Expansion</SnippetType> </SnippetTypes> <Title>Test Method</Title> <Shortcut>ntestm</Shortcut> <Description>Code snippet for a test method</Description>
241 Views
no comments
/// <summary> /// Check that Close is called on the View when called on presenter and screen is not dirty /// new AAA syntax /// </summary> [Test] public void When_the_screen_is_not_dirty_can_close_AAA() { // 1. Arrange var view = MockRepository.GenerateMock<IHumbleView>(); view.Stub(x => x.IsDirty).Return(false);
221 Views
no comments
namespace NUnit.Framework { public static class AssertionHelpers { public static void WithMessage(this Exception ex,string expectedMessage) { Assert.AreEqual(ex.Message, expectedMessage); } } }
447 Views
no comments
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; namespace NUnitTests { class GerenteProdutos
585 Views
no comments
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; namespace NUnitTests { class ProductManager {
412 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
