Profile cover photo
Profile photo
Software Engineering for SaaS - Spring 2012
103 followers -
A Google+ page for students on the Spring class of SaaS course to host hangout study / discussion meetings as well as sharing their ideas related to the course.
A Google+ page for students on the Spring class of SaaS course to host hangout study / discussion meetings as well as sharing their ideas related to the course.

103 followers
About
Software Engineering for SaaS - Spring 2012's posts

How do you find about TDD & RSpec? For me, opposite to BDD & Cucumber I don't really like it. TDD itself is fine and checking code coverage is good in order to deliver good quality code if you have time to write all these tests. However, RSpec is what I really don't like.

If you are going on the BDD way of building a SaaS web app, you need to use the web app language, BDD Gherkin terms+doing your step definition, Haml/Html for the web interface, CSS for styling, Javascript + Javascript framework for dynamic website, probably SQL for debugging and managing the database even though you may not need it for development. That's quite a lot already, now you have to adjust another language for TDD, I really don't think so.

I can accept simple new language in BDD as a bridge between the tech and business people. However, unit testing very often is just for programming team only. TDD for unit testing in my point of view should be just dummy and stubs written in the same language of your web app without introducing any more rules and terms. NUnit/JUnit I think is good enough. Furthermore, for me who has a bit C/Java background, their term of "Double" which from my understanding more like dummy object is really confusing...I can't help keep thinking about why they create a floating point object for testing...

I give up RSpec on the assignment as the more I learn about it the more I don't like it. However TDD, stub/mock concept itself I admit is good.

One more quiz announced (probably our last quiz)

Quiz 3: TDD and Advanced Rails

Due: Mon 2 Apr 2012 11:59:00 PM PDT

- Good Luck everybody -

Assignment#4 Due Date Changed (Again)

Assignment#4 > BDD + TDD Cycle
*Due: Tue 27 Mar 2012 11:59:00 PM PDT
(We got one more day...)

Assignment#4 Due Date Changed

Assignment#4 > BDD + TDD Cycle
*Due: Mon 26 Mar 2012 11:59:00 PM PDT
(Same day as Quiz Due Date @noon instead of midnight as assignment)

Post has attachment
How does everyone feel about BDD of cucumber and capybara? After the assignment I have to admit I really quite like it. As most of my real projects are in .NET I have explore the web for similar approach for .NET, and I have found SpecFlow. From their screencast it looks pretty promising and very similar to cucumber. I will try to work with it on my current starting up project and see how it really goes.

http://specflow.org/home.aspx

Post has attachment
Week 5

Reading > Ch5.1-5.11

Assignment#4 > BDD + TDD Cycle
Due: Tue 27 Mar 2012 12:59:00 AM PDT
(Please note that time is 12:59AM* )

Lecture video and assignments are now available on course page
https://www.coursera.org/saas/class/index

QUIZ#2: Ruby, Rails, BDD
Due: Mon 26 Mar 2012 11:59:00 AM PDT
(Day before the assignment due)

Post has attachment

Post has attachment
Week 4

Reading > Ch4.1-4.9

Assignment#3 > BDD and Cucumber
Due: Mon 19 Mar 2012 4:59:00 PM PDT
(time is 4:59 instead of the usual 11:59...)

Lecture video and assignments are now available on course page
https://www.coursera.org/saas/class/index

Setting Up RoR

I try not to rely on the course VM much of my work as in the real world you won't work on VM but your own machine. However, I find setting up the Rails (to work with HW#2) is much more difficult then I thought. I try it on my Macbook Pro laptop first, then finding it RubyGem is outdated and unable install some of dependent modules, I tried half day without success and by the fact that Ruby is built with Mac OS, I don't really want to mess it up.

So, I try my Windows desktop. I download and install the RailInstaller which suppose to be all-in-one easy package. The installer runs smoothly, but when I try to run rails server on hw2, it again complains about some dependency package missing. I following instruction on hw2 to run 'bundle install --without production', then it is complaining not having python....

I finally have given up setting it up on my machine and will start working on with the VM tonight...

As many of things have been moved to cloud these days, I think someday in the near future we will be developing,compile and run in the cloud without all these setup and incompatibilities hassle.

Post has attachment
First Quiz! Announced on class page.

Due date: Mon 12 Mar 2012 11:59:00 PM PDT (Same as Assignment 2)

Good Luck to us all!

https://www.coursera.org/saas/class/index
Wait while more posts are being loaded