Introducing Test-driven Machine Learning
// Packt Publishing
In this article by Justin Bozonier, the author of the book Test Driven Machine Learning, we will see how to develop complex software (sometimes rooted in randomness) in small, controlled steps also it will guide you on how to begin developing solutions to machine learning problems using test-driven development (from here, this will be written as TDD). Mastering TDD is not something the book will achieve. Instead, the book will help you begin your journey and expose you to guiding principles, which you can use to creatively solve challenges as you encounter them.
We will answer the following three questions in this article:
RSpec Setup in Rails 4 An up-to-date testing environment setup for Rails 4, including RSpec, Capybara, and FactoryGirl. Gems Gems gonna used are:
Trong bài trước chúng ta đã làm quen với TDD trong ruby và các bạn cũng đã có cái overview về TDD rồi. Bài này mình xin giới thiệu các áp dụng RSpec để test Model.
Continuing with my previous post on Implementing Web API Versioning using OWIN, in this post I am going to show how to write unit test for your Web APIs. As we know that the beauty of OWIN is able to run your web application independent of the web server and based on this principle the […]
via Developing Front-End Microservices With Polymer Web Components And Test-Driven Development (Part 1/5): The First Component | Technology.
In this article series we’ll go through Web Components development in context of microservices. We’ll use Polymer as the library that will help us out. The objective is to create a microservice that will handle full functionality. The service will contain not only back-end API (as is the case with most microservices) but also front-end in form of Web Components. Later on, when the time comes to use the service we’re creating, we’ll simply import Web Components. That is quite a different approach than what you might be used to. We won’t create a Web Application that calls APIs handled by microservices. We’ll import parts of the front-end from microservices. Our objective is to have a microservice that contains everything; from front-end to back-end. Please refer to the Including Front-End Web Components Into Microservices article for more information that lead to this decision.
I was recently working on some code where I wanted to fake the “System.Web.Http” assembly however I ran into some mysterious problem and thought about blogging about it. I started by right clicking on the System.Web.Http and selected the “Add Fakes Assembly” option as shown below. And no surprises there I could see the fakes […]