Search This Blog

Wednesday, December 14, 2011

Introducing Siesta: A Testing Tool for Ext JS

link -> Introducing Siesta: A Testing Tool for Ext JS:
For us, about midway through our upgrade, we realized that we badly needed a tool to help us verify that what used to work in the Ext JS 3 version still worked in the Ext JS 4 version. Doing the testing manually for each feature and API method would simply have taken way too much of our time. After evaluating a few popular options, we realized that none really fit our needs, so we started to design and write our own tool: Siesta
Looks nice for unit testing where you write the tests programmatically. Not sure how it would work with a recorder and automatically generated IDs. Price tag of $300/developer is steep not to do everything.

Thursday, December 8, 2011

New RSS Feed URLs

Since Google Reader shut down their Note In Reader feature, I decided to import my shared items into this blog and use the BlogThis bookmarklet to share new items.

 Here are my new RSS feed URLs

New Posts Feed: 
Atom 1.0: http://bigleroncode.blogspot.com/feeds/posts/default
RSS 2.0: http://bigleroncode.blogspot.com/feeds/posts/default?alt=rss

Comments-only feed: 
Atom 1.0: http://bigleroncode.blogspot.com/feeds/comments/default
RSS 2.0: http://bigleroncode.blogspot.com/feeds/comments/default?alt=rss

Sunday, December 4, 2011

Crosspile Week 4

Finally got a test to pass this week. I think the next thing to work on is to output some C# from the JsDuck json file. This week I want to research the NRefactory library and try to create an abstract syntax tree from my JsDuck json file and get NRefactory to output the C#. I also noticed that Microsoft released Roslyn which I could use instead of NRefactory. I think I will start out with NRefactory but keep my eye on Roslyn as well just to see if it is worth switching.

Saturday, December 3, 2011

SpecFlow Integration - Matt Ward

link -> SpecFlow Integration - Matt Ward:
The SpecFlow team recently released version 1.7 and with it they included support for SharpDevelop 4.0. SpecFlow is an open source framework that you can use to do Behaviour Driven Development (BDD) on .NET. It allows you to bind business requirements to the code. Let us take a look at how SpecFlow integrates with SharpDevelop.
This looks similar to our customer test parser except instead of using Xml they use the Gherkin language.

Monday, November 28, 2011

Customers learn as well as Developers as product moves along

link -> Growing Objected Oriented Code Guided By Tests
For customers and end users, the experience is worse. The process of building a system forces them to look at their organization more closely than they have before. They’re often left to negotiate and codify processes that, until now, have been based on convention and experience.
I remember working on a system where we were writing automated Acceptance Tests that could be easily read by our PM. This process allowed us to easily show them where they were giving us requirements that contradicted requirements they gave us in earlier iterations. Trying to have the conversation in English made our heads hurt but showing them the two tests side by side got us immediate understanding and earned us the reply "Oh crap I never thought about that".

Sunday, November 27, 2011

Crosspile Week 3

I spent a bunch of hours working on Crosspile this week but did not make much progress. I committed what I did, but the one test I wrote is not passing. I think I tried to get too fancy. I will try to simplify things this week and see if I can actually make some progress.

Sunday, November 20, 2011

Crosspile Week 2

Stuff I got done this week
  • Finished up the blog import tool I was working on which was taking up most of my free time
  • Created a project to test to see if I could use sharpkit to translate from C# to javascript
  • Figured out how to write and run nUnit tests in MonoDevelop
  • Starting writing a test to convert an JsDuckJson class to a Crosspile class
Time and internet access will be limited next week but hopefully I will still make some progress.

Thursday, November 17, 2011

Introduction To Composite JavaScript Apps | ThoughtStream.new :derick_bailey

link -> Introduction To Composite JavaScript Apps | ThoughtStream.new :derick_bailey

Not a big fan of the module pattern, but I like that he separating the different UI pieces into separate pieces of code that can be reused. I also like the way he binds the events together. It reminds me a little of the event stuff they have in DM

Sunday, November 13, 2011

S#arp Lite: The Basics - NHibernate blog - NHibernate Forge

link -> S#arp Lite: The Basics - NHibernate blog - NHibernate Forge:

S#arp Lite is an architectural framework for the development of well-designed, custom-built, ASP.NET MVC applications using NHibernate for data access.

Might be some cool ideas in here to use in our project.

Open source application to import Shared Items from Reader to Blogger


Unfortunately Google removed the Note In Reader functionality from Google Reader.  To replace this this functionality I am using the Blog This bookmarklet and adding my shared items to my blog.  I created googleReaderShares2Blogger to allow you to import the shared items you created in reader before google turned this functionality off.

I basically downloaded the Google C# API and modified their sample application.  The code is pretty rough but it works for what I needed.  I coded this on my mac using MonoDevelop, but it should work on Windows too.