Oskar Gewalli's blog articles

0
comment
on 8/31/2015 8:52 AM
I tried implementing the same customer service xml api that I’ve implemented in sinatra, rails, c# webhandler, nancy etc. I was pleasently surprised how easy it is to get it up and running. There is a story for how you write tests: TestServer, that you install by referencing Microsoft.Owin.Testing. Previous times that I’ve tried using Owin on mono, there has been some problems getting it to run (I think it was something related to a missing dll). Now it works fine. :) You can find the code here: Customer[...]
>> Read the full article
.
0
comment
on 8/31/2015 5:17 AM
Instead of using: $:.unshift File.dirname(__FILE__) to add a folder to the path, a better way inside your ruby code is to use: require_relative 'subfolder/file' in order to require files. You can also use a relative path in require (i.e. ‘./subfolder/file’).
>> Read the full article
.
0
comment
on 8/31/2015 5:17 AM
Instead of using: $:.unshift File.dirname(__FILE__) to add a folder to the path, a better way inside your ruby code is to use: require_relative 'subfolder/file' in order to require files. You can also use a relative path in require (i.e. ‘./subfolder/file’).
>> Read the full article
.
0
comment
on 8/31/2015 1:52 AM
Before the vacation I was working with Karl Adriansson on a project as the front end programmer. I helped get a front end javascript parts back on track. While doing this, Karl and one of the testers supplied me with specifications from the requirements. Since the specifications where very detailed, It was very easy to transform them into sort of BDD style tests: test("PROJ-783", function (){ var ctx = given_a_customer_previously_bought(black_sweater()); and_I_currently_have_X_of_Y_in_stock(ctx, 3, bl[...]
>> Read the full article
.
0
comment
on 8/31/2015 1:52 AM
Before the vacation I was working with Karl Adriansson on a project as the front end programmer. I helped get a front end JavaScript parts back on track. While doing this, Karl and one of the testers supplied me with specifications from the requirements. Since the specifications where very detailed, It was very easy to transform them into sort of BDD style tests: test("PROJ-783", function (){ var ctx = given_a_customer_previously_bought(black_sweater()); and_I_currently_have_X_of_Y_in_stock(ctx, 3, bl[...]
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper