26 Apr '13, 5pm

#SenchaTouch BDD using @JasmineBDD (Part 2) via @pivotallabs

A multi-part series of articles on how to test Sencha Touch applications. It uses Jasmine for unit testing and Siesta for integration testing. Part 2 – Unit Testing Models In Part 1 I showed you how to set up your Sencha Touch development environment to use the Jasmine JavaScript test framework. We’re going to take a bit of a breather from all the hard work we did last week. In this blog, I’m going to show you how to test simple models. Let’s have some fun, shall we? Test-Driven-Development starts with a test, of course. Let’s write one that just asserts that our model class exists : $ cat spec/javascripts/model/MyModelSpec.js describe('SenchaBdd.model.MyModel', function() { it('exists', function() { var model = Ext.create('SenchaBdd.model.MyModel'); expect(model.$className).toEqual('SenchaBdd.model.MyModel'); }); }); When we run our tests in the browser, Jasmine reports t...

Full article: http://pivotallabs.com/sencha-touch-bdd-part-2/

Tweets

Eat-See Bitsie Korea Part 2

Eat-See Bitsie Korea Part 2

bongqiuqiu.blogspot.com 26 Apr '13, 1am

Went into a small cozy restaurant where the ladyboss was very friendly ^.^ Actually ah, i realise that most of the restaur...

580k for this unit..what u all think? - Page 2

forums.condosingapore.com 26 Apr '13, 4am

Quote: Originally Posted by Pikachu1245 I believe it is worth if you have the holding power, be it for own stay or investm...

Sencha Touch BDD Part 1 via @pivotallabs

Sencha Touch BDD Part 1 via @pivotallabs

pivotallabs.com 18 Apr '13, 12pm

Sencha Touch 2.1 has a generator built into its sencha command line tool, but it does not create a test structure as part ...

Syria: Nothing Is Simple In This Part Of The Wo...

strategypage.com 27 Apr '13, 9am

The Assads are trying to make the case that a post-Assad government would be dominated by Islamic radicals and that Syria ...

Pairing like a Pivot via @pivotallabs

pivotallabs.com 26 Apr '13, 7pm

Pairing is an amazing activity if you and your pair can do it right, it is one of the things we value most here at Pivotal...

via @jalan2singapura: #TipsTravel Info Seputar ...

jalanjalansingapura.com 27 Apr '13, 8am

Post ini dimaksudkan sebagai referensi informatif bagi traveler yang ingin liburan ke Singapore dan stay di hostel backpac...

#SenchaTouch BDD - Part 3 - Testing Views and M...

pivotallabs.com 06 May '13, 4am

There’s an old MVC mantra: “Fat models, skinny controllers and stupid views.” We don’t want complex logic in our views; th...

How I learned to #test my #Rails applications, ...

everydayrails.com 27 Apr '13, 2pm

That said, early Rails books and tutorials focused more on speed (build a blog in 15 minutes!) than on good practices like...

U-KISS爆料大会 via @sharethis

U-KISS爆料大会 via @sharethis

showbiz.omy.sg 30 Apr '13, 1am

U-KISS' Eli likes to walk around "butt naked"?! 制作 : omy 编导 : 韩伟定 http://showbiz.omy.sg/sites/default/files/images/201304/...

Be part of a landmark citizen science paper on ...

skepticalscience.com 25 Apr '13, 3pm

Be part of a landmark citizen science paper on consensus Posted on 25 April 2013 by John Cook UPDATE: we have reached our ...

LASIK at Shinagawa - Part 2

lesterchan.net 22 Apr '13, 12am

Before The Day of Operation You should not wear soft contact lenses for 3 days, soft toric contact lenses for 7 days and h...

Don't Get Caught in the Tool Worship Trap, Part...

cadalyst.com 24 Apr '13, 4pm

In the previous edition of the CAD Manager’s Newsletter , I pondered why so many upper management teams think that new CAD...

Parenting with Pampers - Part 1: Potty Training

Parenting with Pampers - Part 1: Potty Training

alvinology.com 30 Apr '13, 6am

I am not exactly the best father in the world, but whatever good stuff I can impart or provide for my one and a half year ...

Travelling with the toddler to Kyoto, Japan, Part 2

Travelling with the toddler to Kyoto, Japan, Pa...

chubbyhubby.net 25 Apr '13, 1am

I had read about Popeye in a Japanese magazine devoted to cafes in Kyoto. “Read” may be stretching the truth a bit since I...