Profile

Cover photo
Software Engineering for SaaS - Spring 2012
102 followers|8,141 views
AboutPostsPhotosVideos

Stream

 
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.
1
Pavel Druziak's profile photoSoftware Engineering for SaaS - Spring 2012's profile photo
2 comments
 
I am new to Ruby, so I have not tried TestUnit yet. Thanks for letting me know, may try it when I have a Ruby project one day.
Add a comment...
 
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...)
1
Add a comment...
 
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
SpecFlow aims at bridging the communication gap between domain experts and developers by binding business readable behavior specifications to the underlying implementation. Our mission is to provide a...
1
Franc Schiphorst's profile photoSoftware Engineering for SaaS - Spring 2012's profile photo
2 comments
 
Thanks Franc. I am still reading Ch.5. Beside SpecFlow, I found WatiN which like Capybara that can simulate browser activities in .NET. It claims to support AJAX, which is interesting to explore too.

http://watin.org/
Add a comment...
 
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.
1
Software Engineering for SaaS - Spring 2012's profile photoFranc Schiphorst's profile photo
6 comments
 
Please note that you have the same crap in ms as in you also have to set up security/database/access etc etc.
Regardless what environment you are in you will need to know the stack you are running on.
If you use amazon you will have to know it's cloud or you end up going down when one of their data centers goes down. Loads of people did not get the fact that THEY not amazon had to take care to run in more zones etc.

Regarding the SaaS class VM i think it's smart of them as they have one predicable environment but also know that not everyone has a machine that has 1GB of memory to spare and enough cpu/bandwith etc.
Add a comment...
 
Week 3

Reading > Ch-3.7-3.16

Assignment#2 > More Ruby, and some Rails
Due: 13 Mar 2012 12:59:00 AM PDT

Lecture video and assignments are now available on course page
https://www.coursera.org/saas/class/index
1
Add a comment...
 
I received email regarding to the course that next programming exercise (assignment?) and lecture is out. But so far on the course page I only see Lecture Video 3.7 & 3.8 is up...
1
Buddha Buck's profile photoSoftware Engineering for SaaS - Spring 2012's profile photo
2 comments
 
Clear my cache, I see all the updates now. Thanks!
Add a comment...
Have them in circles
102 people
Rui Sousa's profile photo
Mel Riffe's profile photo
Ed Grochowski's profile photo
Davide Conzon's profile photo
Sarah Fung's profile photo
Jaime Baez's profile photo
Nicolas Vanderavero's profile photo
Gustavo Campanelli's profile photo
Evgeny Slutsky's profile photo
 
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 -
1
Add a comment...
 
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)
1
Ralf Haring's profile photoSoftware Engineering for SaaS - Spring 2012's profile photo
4 comments
 
Oh...they changed it again...probably because the delay of the assignment submission instruction...I guess...
Add a comment...
 
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)
This course teaches the engineering fundamentals for long-lived software using the highly-productive Agile development method for Software as a Service (SaaS) using Ruby on Rails. Agile developers con...
1
Javier Marinero Ramos's profile photo
 
Estoy empezando a estresarme!!! A ver si se da bien...
 ·  Translate
Add a comment...
 
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
This course teaches the engineering fundamentals for long-lived software using the highly-productive Agile development method for Software as a Service (SaaS) using Ruby on Rails. Agile developers con...
1
Add a comment...
 
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
This course teaches the engineering fundamentals for long-lived software using the highly-productive Agile development method for Software as a Service (SaaS) using Ruby on Rails. Agile developers con...
1
Add a comment...
People
Have them in circles
102 people
Rui Sousa's profile photo
Mel Riffe's profile photo
Ed Grochowski's profile photo
Davide Conzon's profile photo
Sarah Fung's profile photo
Jaime Baez's profile photo
Nicolas Vanderavero's profile photo
Gustavo Campanelli's profile photo
Evgeny Slutsky's profile photo
Story
Tagline
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.