I hereby claim:
- I am adamralph on github.
- I am adamralph (https://keybase.io/adamralph) on keybase.
- I have a public key whose fingerprint is BBD9 E810 1318 94AF DB41 884C A13C 4EC3 43B4 4212
To claim this, I am signing this object:
var doubleRule = new AssertionRule<double>( | |
i => i.RuntimeType == typeof(double), | |
c => Math.Abs(c.Expectation - c.Subject).Should().BeLessThan(0.0000000000001)); | |
actual.ShouldBeEquivalentTo(expected, options => options.Using(doubleRule)); |
------ Test started: Assembly: Octokit.Tests.dll ------ | |
Test 'Octokit.Tests.Clients.SearchClientTests+TheSearchIssuesMethod.TestingTheStateQualifier_Closed' failed: NSubstitute.Exceptions.ReceivedCallsException : Expected to receive a call matching: | |
Get<SearchIssuesResult>(u => (u.ToString() == "search/issues"), d => (d.get_Item("q") == "something+state:Closed")) | |
Actually received no matching calls. | |
Received 1 non-matching call (non-matching arguments indicated with '*' characters): | |
Get<SearchIssuesResult>(search/issues, *Dictionary<String, String>*) | |
at NSubstitute.Core.ReceivedCallsExceptionThrower.Throw(ICallSpecification callSpecification, IEnumerable`1 matchingCalls, IEnumerable`1 nonMatchingCalls, Quantity requiredQuantity) | |
at NSubstitute.Routing.Handlers.CheckReceivedCallsHandler.Handle(ICall call) |
IEnumerable<Foo> foos; | |
foos.Should().All(foo => foo.Bar.Should().Be("baz")); | |
// if an item does not satisfy the inner assertion, I'd like to be told which one. | |
// perhaps I could be told the index, and maybe a string representation of the item |
var owner = "scriptcs"; | |
var repo = "scriptcs"; | |
var milestone = "v0.10"; | |
var labels = new Dictionary<string, string>{ { "feature", "New" }, { "bug", "Fixed" } }; | |
var username = "adamralph"; | |
var oAuthToken = "secret"; | |
var client = Require<OctokitPack>().CreateWithOAuth("ScriptCs.ReleaseNotesScript", username, oAuthToken); | |
var issues = client.Issue.GetForRepository(owner, repo, new RepositoryIssueRequest { State = ItemState.Closed, }).Result; |
[Scenario] | |
public void MyScenario(..., SqlTransaction transaction) | |
{ | |
"Given..." | |
.f(() => ...); | |
... | |
"When..." | |
.f(c => | |
{ | |
// Appending .Using(c) will call Dispose() after all steps in the scenario have finished. |
I hereby claim:
To claim this, I am signing this object:
Currently, https://github.com/orgs/scriptcs/dashboard shows "14 minutes ago adamralph released v0.10 at scriptcs/scriptcs". This is incorrect. | |
https://github.com/scriptcs/scriptcs/releases shows "v0.10 Adam Ralph adamralph released this on 30 Jul 2014". This is correct. | |
I believe the reason the dashboard shows "14 minutes ago" is because I edited the release notes. | |
What I have noticed is that if I edit the release notes and click 'Update release notes' then this problem does not occur. It only occurs when I accidentally click 'Save draft' instead of 'Update release notes' and then I click 'Update release notes' immediately afterwards to correct myself. I guess that the transition in and out of draft is throwing things off somehow. |
#r MyApp.exe | |
using MyApp; | |
Settings.Foo = "Bar"; |
With all steps passing: | |
TestAssemblyStarting | |
TestCollectionStarting | |
TestClassStarting | |
TestMethodStarting | |
TestCaseStarting | |
TestStarting | |
TestPassed | |
TestFinished |
call scriptcs -install DotNetBuild.Runner.ScriptCs -pre | |
call scriptcs -install Fitter.ScriptCs -pre | |
call scriptcs -install Glimpse.ScriptCs -pre | |
call scriptcs -install MpnsTester -pre | |
call scriptcs -install ScriptCs.Adder -pre | |
call scriptcs -install ScriptCs.ArcGIS -pre | |
call scriptcs -install ScriptCs.Arduino -pre | |
call scriptcs -install ScriptCs.AzureManagement -pre | |
call scriptcs -install ScriptCs.AzureMediaServices -pre | |
call scriptcs -install ScriptCs.AzureMobileServices -pre |