Last active
December 11, 2015 09:18
-
-
Save agross/4579033 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>mspec -p Machine.Specifications.Example.dll Machine.Specifications.Example.CleanupFailure.dll | |
Specs in Machine.Specifications.Example: | |
...*** | |
Specs in Machine.Specifications.Example.CleanupFailure: | |
. | |
Contexts: 4, Specifications: 7, Time: 0.25 seconds | |
4 passed, 0 failed, 3 not implemented |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>mspec.exe -p Machine.Specifications.Tests.dll | |
Specs in Machine.Specifications.Tests: | |
FF...*........ | |
Failures: | |
ContextWithSpecificationExpectingThrowThatDoesnt | |
» should throw but it wont (FAIL) | |
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Machine.Specifications.SpecificationException: Should be [not null] but is [null] | |
at Machine.Specifications.ShouldExtensionMethods.ShouldNotBeNull(Object anObject) in d:\Users\agross\Coding\.NET\Machine.Specifications\Source\Machine.Specifications\ExtensionMethods.cs:line 108 | |
at Machine.Specifications.ContextWithSpecificationExpectingThrowThatDoesnt.<.ctor>b__1() in d:\Users\agross\Coding\.NET\Machine.Specifications\Source\Machine.Specifications.Tests\ExampleSpecificati | |
ons.cs:line 63 | |
--- End of inner exception stack trace --- | |
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) | |
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) | |
at System.Delegate.DynamicInvokeImpl(Object[] args) | |
at Machine.Specifications.Model.Specification.InvokeSpecificationField() in d:\Users\agross\Coding\.NET\Machine.Specifications\Source\Machine.Specifications\Model\Specification.cs:line 83 | |
at Machine.Specifications.Model.Specification.Verify() in d:\Users\agross\Coding\.NET\Machine.Specifications\Source\Machine.Specifications\Model\Specification.cs:line 61 | |
ContextWithThrowingWhenAndPassingSpecification | |
» should fail (FAIL) | |
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Exception of type 'System.Exception' was thrown. | |
at Machine.Specifications.ContextWithThrowingWhenAndPassingSpecification.<.ctor>b__0() in d:\Users\agross\Coding\.NET\Machine.Specifications\Source\Machine.Specifications.Tests\ExampleSpecification | |
s.cs:line 77 | |
--- End of inner exception stack trace --- | |
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) | |
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) | |
at System.Delegate.DynamicInvokeImpl(Object[] args) | |
at Machine.Specifications.Utility.RandomExtensionMethods.<>c__DisplayClass2.<>c__DisplayClass4.<InvokeAll>b__1() in d:\Users\agross\Coding\.NET\Machine.Specifications\Source\Machine.Specifications\ | |
Utility\RandomExtensionMethods.cs:line 20 | |
at Machine.Specifications.Utility.RandomExtensionMethods.<InvokeAll>b__7(Action x) in d:\Users\agross\Coding\.NET\Machine.Specifications\Source\Machine.Specifications\Utility\RandomExtensionMethods | |
.cs:line 30 | |
at Machine.Specifications.Utility.RandomExtensionMethods.Each[T](IEnumerable`1 enumerable, Action`1 action) in d:\Users\agross\Coding\.NET\Machine.Specifications\Source\Machine.Specifications\Utili | |
ty\RandomExtensionMethods.cs:line 14 | |
at Machine.Specifications.Utility.RandomExtensionMethods.InvokeAll(IEnumerable`1 actions) in d:\Users\agross\Coding\.NET\Machine.Specifications\Source\Machine.Specifications\Utility\RandomExtension | |
Methods.cs:line 30 | |
at Machine.Specifications.Utility.RandomExtensionMethods.InvokeAll(IEnumerable`1 contextActions, Object[] args) in d:\Users\agross\Coding\.NET\Machine.Specifications\Source\Machine.Specifications\U | |
tility\RandomExtensionMethods.cs:line 20 | |
at Machine.Specifications.Model.Context.EstablishContext() in d:\Users\agross\Coding\.NET\Machine.Specifications\Source\Machine.Specifications\Model\Context.cs:line 85 | |
Contexts: 12, Specifications: 14, Time: 0.15 seconds | |
11 passed, 2 failed, 1 not implemented |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment