blog.wsoft.se
.NET | Andreas Plahn Developer Blog
http://blog.wsoft.se/category/net
Andreas Plahn Developer Blog. Category Archives: .NET. C# NET Selenium chromedriver.exe no disk in drive e: fix. March 8, 2017. If you get this alert message when debugging with the Selenium webdriver (v3.2) chromedriver (v2.27):. Chromedriver.exe no disk. There is no disk in the drive. please insert a disk into drive e:. You need to set the path to chromedriver.exe to the constructor. Var driver = new ChromeDriver(chromeDriverPath);. Usage with helper class below:. Public class MyChromeDriver { public C...
blog.wsoft.se
Testing | Andreas Plahn Developer Blog
http://blog.wsoft.se/category/testing
Andreas Plahn Developer Blog. C# NET Selenium chromedriver.exe no disk in drive e: fix. March 8, 2017. If you get this alert message when debugging with the Selenium webdriver (v3.2) chromedriver (v2.27):. Chromedriver.exe no disk. There is no disk in the drive. please insert a disk into drive e:. You need to set the path to chromedriver.exe to the constructor. Var driver = new ChromeDriver(chromeDriverPath);. Usage with helper class below:. Create an instance of a driver. (web browser). Public class MyC...
blog.wsoft.se
C# | Andreas Plahn Developer Blog
http://blog.wsoft.se/category/c
Andreas Plahn Developer Blog. Js string endsWith() polyfill and other string functions. October 17, 2016. When you are a C# developer and want javascript to be more like C#:. String.prototype.endsWith) { String.prototype.endsWith = function(searchString, position) { var subjectString = this.toString(); if (typeof position! 1 & lastIndex = = position; }; }. From: https:/ developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global Objects/String/endsWith. August 2, 2016. Zeeshan Umar’s Blog. The C# In...
huan-lin.blogspot.com
Huan-Lin 學習筆記: 讓單元測試代碼更好寫、好讀:Fluent Assertions
http://huan-lin.blogspot.com/2015/06/fluent-assertions.html
First we read, then we write. 讓單元測試代碼更好寫、好讀:Fluent Assertions. 最近有機會使用 Fluent Assertions 這個套件來寫單元測試,感覺不錯. Roy Osherove 在《 單元測試的藝術. 12299;這本書裡面不斷強調,單元測試的程式碼要盡量易讀易懂,最好是讓人不用多想,一眼就看得懂某個測試方法要測的是什麼,以及怎麼驗證測試結果。 使用 NUnit 來撰寫單元測試時,儘管 Assert.That() 方法不難理解,但如果有其他寫法能夠進一步提高測試程式碼的可讀性,當然是更好。Fluent Assertions 便有這個好處。 底下是一個 NUnit 的測試程式碼範例:. 運行測試時,如果上面的測試方法失敗了,失敗的訊息也很平易近人。下圖是用 Resharper 所附的測試運行器(test runner)來執行測試的結果:. Fluent Assertions 提供了許多擴充方法,以便應付各式各樣的驗證邏輯。底下再貼一例:. Fluent Assertions 支援多種測試框架,包括:MSTest...12304;如欲轉載&...
testing.apievangelist.com
API Testing
http://testing.apievangelist.com/blog
Return to API Evangelist. Adding Behavior-Driven Development Assertions To My API Research. I was going through Chai, a behavior, and test driven assertion library. And spending some time learning about behavior driven development, or BDD, as it applies to APIs today. This is one of the topics I've read about and listened to talks from people I look up to. A BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework. Fluent Assertions is a s...
dotnetzuid.nl
The Good, The Bad and the Ugly - An Event Sourcing Retrospective - .NET Zuid
http://www.dotnetzuid.nl/Meeting/14/the-good-the-bad-and-the-ugly---an-event-sourcing-retrospective
Praat met ons mee op Slack! NET Zuid op Slack! The Good, The Bad and the Ugly - An Event Sourcing Retrospective. Tuesday 7th of February 2017 from 5:30 pm. After the success of the last CQRS and ES meeting, Dennis Doomen is going to tell us about his practical experience in his session: The Good, The Bad and the Ugly - An Event Sourcing Retrospective:. The host of the night is Aviva Solutions. The address: Torenallee 20, 5617 BC Eindhoven. Parking vouchers will be provided. Register with the button below.
nuget.org
NuGet Gallery | Fluent Assertions 4.13.0
https://www.nuget.org/packages/FluentAssertions
Register / Sign in. Downloads of v 4.13.0. Average downloads per day. Open in Package Explorer. Share on Social Networks. A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or. BDD-style unit test. Runs on 4.0 and 4.5 (Desktop and Windows Store), CoreCLR, Silverlight 5 and Windows Phone 8, 8.1 and 8.1 for Silverlight. Supports the unit test frameworks NUnit, XUnit, XUnit2, MBUnit, Gallio, MSpec, and NSpec. Tuesday, August 2, 2016. Thursday, Ma...
seankilleen.com
Why I Prefer xUnit over MSTest – SeanKilleen.com
http://seankilleen.com/2015/06/xUnit-vs-MSTest
Just a guy trying to get better at writing bios. Why I Prefer xUnit over MSTest. I'm in the process of moving this site from Blogger to Jekyll and Github Pages. In the meantime, things may be a little wonky. I was recently asked to explain. First Thing First: Testing (and its Concepts) Matter Most. Also, while I’m about to contrast two testing frameworks, I can’t stress enough that developers should be able to use either. What I Like About xUnit. The simplicity of passing data to tests with. My tests flo...
icalvo.github.io
Testing dependency resolution - Ignacio Calvo Blog
http://icalvo.github.io/archive/2015/02/08/test-ninject-instantiation
Ninject, mstest, mvc, controller, dependency, injection. Here’s a version of Rob Moore’s class. For testing dependency resolution for MVC controllers. In our team at Frontiers. We have an Application Service Layer. That is partially shared between a console application and a REST API built with ASP.NET MVC. So for us (and I think it’s a common need) it is important also to test that the dependencies of the application layer itself are correctly resolved. So we ended up using an attribute.
SOCIAL ENGAGEMENT