Angel \”Java\” Lopez on Blog

July 13, 2014

SharpBus in C# (1) First Steps

Filed under: .NET, C Sharp, Open Source Projects, SharpBus, Test-Driven Development — ajlopez @ 11:54 am

Last month I started to write SharpBus, a simple message processor inspired by ideas from Mule Java project. See:

http://en.wikipedia.org/wiki/Mule_(software)

http://www.mulesoft.org/what-mule-esb

As usual, I’m using TDD (Test-Driven Development), implementing small use cases and API consumption, in the simplest possible way. In fact, the project is a personal exercise of TDD. I hope that some may be useful beyond that. For now, it is an example that I want to share my workflow.

You can see the progress in:

https://github.com/ajlopez/SharpBus

The main ideas to implement are:

- There are Messages containing Payloads and Properties (dictionary of name / value)

- There Flows that process messages

- A Flow is composed of several elements

The elements can be chained in the flow, and can be:

- A Transformer, taking a payload or complete message, and returns a transformed version

- A Processor, taking a payload or complete message, operate on them, maybe accessing the business domain, but without transformation

- Input, a payload/message producer

- Output, a payload/message consumer, at the end od the Flow process

- A Rourter, given a payload/message, it decides with Branch to follow in the Flow. Each Branch is identified by a name.

There will also be items that can issue new posts than the current, and can issue them to different flows in the system. The message producers should be able to run threads (Threads) in principle. And there will be a set of threads (Pool of Threads) attending the incoming messages and deriving them to the respective flows.

A flow can take a message and return a response (Request / Response), or it can take a message, process it without returning an answer.

Some items need complete Message and other items operate over the Payload.

The elements in the world of Mule / Java are objects. Notably, in C #, the simplest way to implement is using lambdas. So, following TDD, the early testing and deployment has come out that way. You can see in some simple tests:

https://github.com/ajlopez/SharpBus/blob/master/Src/SharpBus.Core.Tests/FlowTests.cs

As an example of send a Payload and receive an answer, using an empty Flow:

var flow = Flow.Create();

Assert.AreEqual(1, flow.Send(1));

To send a payload and transform it:

var flow = Flow.Create()
    .Transform(x => ((int)x) + 1);

Assert.AreEqual(2, flow.Send(1));

The .Transform Transform expects a Func<object, object> which may be provided at the time with a lambda. In a classic Java 7 Mule, we should provide an object that implements an interface having a method to transform the Payload. I have to think whether it is worth having a typed Transform <T> (receiving T and returns T), or Transform <T, S> (receiving and returns T S).

I decided to build the flow by code. In the Mule environment Spring is used to set up the flow using XML. I think it is time to explore this other way, build the flow by code, and put it as the "first way", ie, as the way on which everything else could be mounted. If anyone ever needed a DSL (Domain-Specific Language) for creating flows could be implemented this way by having well designed code.

Following TDD, I still have not a case of using a Message (a complete message with content (Payload) and properties (Properties, a name / value) dictionary. All of the above is to process Payload directly.

Upcoming topics: add Message Payload with the output of messages, routing, assembling branches, etc. ..

Stay tuned!

Angel “Java” Lopez

http://www.ajlopez.com

http://twitter.com/ajlopez

July 6, 2014

TDD: Links, News And Resources (22)

Previous Post

Myron Marston » Thoughts on Mocking
http://myronmars.to/n/dev-blog/2012/06/thoughts-on-mocking

Why Your Test Suite Sucks – YouTube
https://www.youtube.com/watch?v=Zf_xJwSNsB0

Detecting Changes in Third-Party Code – The Code Whisperer
http://blog.thecodewhisperer.com/2011/11/26/detecting-changes-in-third-party-code/

Justin Searls: JavaScript Testing Tactics on Vimeo
http://vimeo.com/96425314

TDD by example: Patterns | Nico Cortés blog
http://blog.ncortes.com/2014/06/22/tdd-by-example-patterns/

Steve Freeman On TDD: How Do We Know When We’re Done?
http://www.infoq.com/presentations/TDD-Steve-Freeman

Unit Testing JavaScript Applications
http://www.infoq.com/presentations/tdd-javascript

Scan Agile 2012: Phil Calçado: Better Functional Design Through Test-Driven Development on Vimeo
http://vimeo.com/39959748

The TDD That Can be Spoken Is Not the Eternal TDD
http://hoff2.com/2014/01/24/tdd_is_a_path.html

The Domain Discontinuity | 8th Light
http://blog.8thlight.com/uncle-bob/2014/01/27/TheChickenOrTheRoad.html

Test Double | Our Thinking | The Failures of "Intro to TDD"
http://blog.testdouble.com/posts/2014-01-25-the-failures-of-intro-to-tdd.html

¿Está TDD muerto o más vivito y coleando que nunca? – YouTube
https://www.youtube.com/watch?v=kPFdcYTajlo

TDD en C# con Visual Studio y NUnit – YouTube
https://www.youtube.com/watch?v=nI7-xJa_FvM

Learn Test Driven Development in Flask – Part 2 | /dev/notes
http://waynesimmerson.ca/Article/learn-test-driven-development-flask-part-2

Python: Automated Testing with Grunt (Node.js) | /dev/notes
http://waynesimmerson.ca/Article/python-automated-testing-grunt-nodejs

Tom Stuart on TDD, BDD and Ruby
http://www.infoq.com/interviews/tom-stuart-tdd-ruby

Test-Driven Development by Kent Beck
http://wikimatze.de/books/test-driven-development

e-ferro Venturas/Desventuras de "informático": De Test Unitarios de clases a Tests Unitarios de funcionalidad, un gran paso
http://www.eferro.net/2014/06/de-test-unitarios-de-clases-tests.html

JUnit: A Cook’s Tour
http://junit.sourceforge.net/doc/cookstour/cookstour.htm

You won’t believe how old TDD is | Arialdo Martini
http://arialdomartini.wordpress.com/2012/07/20/you-wont-believe-how-old-tdd-is/

(10) Learning About TDD: The Purpose of #isTDDDead
https://www.facebook.com/notes/kent-beck/learning-about-tdd-the-purpose-of-istdddead/768162959883237

Test Isolation Is About Avoiding Mocks — Destroy All Software Blog
https://www.destroyallsoftware.com/blog/2014/test-isolation-is-about-avoiding-mocks

Mis impresiones sobre el debate #isTDDDead | Jose Armesto
http://blog.armesto.net/mis-impresiones-sobre-el-debate-istdddead/

My Links
http://delicious.com/ajlopez/tdd

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

July 5, 2014

TDD: Links, News And Resources (21)

Previous Post
Next Post

Test-Driven Development as Pragmatic Deliberate Practice – jbrains
http://www.jbrains.ca/permalink/test-driven-development-as-pragmatic-deliberate-practice

12 Meses – 12 Lenguajes (Java) | AprendiendoTDD
http://aprendiendotdd.com/2014/05/12-meses-12-lenguajes-java/

Is TDD dead? [Part III] – YouTube
https://www.youtube.com/watch?v=YNw4baDz6WA#t=48

Tea-Driven Development :: How much do you refactor?
http://blog.mattwynne.net/2013/07/24/how-much-should-i-refactor/

Is TDD Dead
http://martinfowler.com/articles/is-tdd-dead/

Learn Test Driven Development in Flask – Part 1
http://waynesimmerson.ca/Article/learn-test-driven-development-flask-part-1

James Shore: How Does TDD Affect Design?
http://www.jamesshore.com/Blog/How-Does-TDD-Affect-Design.html

How Does TDD Affect Design? | Let’s Code JavaScript
http://www.letscodejavascript.com/v3/blog/2014/05/how_does_tdd_affect_design

Veterans of TDD: J B Rainsberger | My Not So Private Tech Life
http://blog.johanneslink.net/2014/05/16/veterans-of-tdd-j-b-rainsberger/

Is TDD dead? [Part II] – YouTube
https://www.youtube.com/watch?v=JoTB2mcjU7w

diegosanchez/letsdosth
https://github.com/diegosanchez/letsdosth

The Little Mocker | 8th Light
http://blog.8thlight.com/uncle-bob/2014/05/14/TheLittleMocker.html

The DHH Problem
http://codon.com/the-dhh-problem

Test Induced Design Damage? | 8th Light
http://blog.8thlight.com/uncle-bob/2014/05/01/Design-Damage.html

The Curious Case of Tautological TDD – The Code Whisperer
http://blog.thecodewhisperer.com/2014/05/14/the-curious-case-of-tautological-tdd

My Personal Failures in Test Isolation — Extra Cheese
http://blog.extracheese.org/2009/10/my-personal-failures-in-test-isolation.html

Script Junkie | Test Driven Development: Top-Down or Bottom-Up?
http://msdn.microsoft.com/en-us/magazine/gg650426.aspx

When Really To Use Mocks? First Ask: “What Are Mocks?” – Software People Inspiring
http://codemanship.co.uk/parlezuml/blog/?postid=1225

The pitfalls of Test-Driven Development « Otaku, Cedric’s blog
http://beust.com/weblog/2014/05/11/the-pitfalls-of-test-driven-development/

Damian Nicholson: Writing (testable | maintainable | scalable | rock solid) JavaScript on Vimeo
http://vimeo.com/68526881

James Shore: Test-Driven JavaScript Master Class on Vimeo
http://vimeo.com/68383288

My Links
http://delicious.com/ajlopez/tdd

Stay tuned1

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

July 4, 2014

TDD: Links, News And Resources (20)

Previous Post
Next Post

When to Mock | 8th Light
http://blog.8thlight.com/uncle-bob/2014/05/10/WhenToMock.html

TDD, BDD & Test de aceptación
http://www.adictosaltrabajo.com/tutoriales/tutoriales.php?pagina=tdd-bdd-test-de-aceptacion

How To Build A Ruby Gem With Bundler, Test-Driven Development, Travis CI And Coveralls, Oh My! | Smashing Magazine
http://www.smashingmagazine.com/2014/04/08/how-to-build-a-ruby-gem-with-bundler-test-driven-development-travis-ci-and-coveralls-oh-my/

Mocks and the Dangers of Overspecified Software | Ian Cooper
http://codebetter.com/iancooper/2007/12/19/mocks-and-the-dangers-of-overspecified-software/

Veterans of TDD: James Shore | My Not So Private Tech Life
http://blog.johanneslink.net/2014/05/09/veterans-of-tdd-james-shore/

Veterans of TDD: Steve Freeman | My Not So Private Tech Life
http://blog.johanneslink.net/2014/05/02/veterans-of-tdd-steve-freeman/

Veterans of TDD: Ron Jeffries | My Not So Private Tech Life
http://blog.johanneslink.net/2014/04/30/veterans-of-tdd-ron-jeffries/

Is TDD dead? – YouTube
https://www.youtube.com/watch?v=z9quxZsLcfo

Automated Testing and the Evils of Ice Cream
http://willhamill.com/2013/08/12/automated-testing-and-the-evils-of-ice-cream/

Test-induced design damage (DHH)
http://david.heinemeierhansson.com/2014/test-induced-design-damage.html

October CincyRb – Jim Weirich on Decoupling from Rails – YouTube
https://www.youtube.com/watch?v=tg5RFeSfBM4

SelfTestingCode
http://martinfowler.com/bliki/SelfTestingCode.html

Gerard Meszaros – Find the Right Abstraction Level for Your Tests, For automated tests to provide true return on investment, they must do more than verify …
http://www.ustream.tv/recorded/46744750

Yo no soy DHH. Long live TDD | Jose Armesto
http://blog.armesto.net/yo-no-soy-dhh-long-live-tdd/

The Social Networking Kata
http://monospacedmonologues.com/post/49250842364/the-social-networking-kata

Kickstart Academy
http://kickstartacademy.io/blog/2014-05-02-to-tdd-or-not-to-tdd-that-is-not-the-question-

Professionalism and TDD (Reprise) | 8th Light
http://blog.8thlight.com/uncle-bob/2014/05/02/ProfessionalismAndTDD.html

TDD, Straw Men, and Rhetoric — Destroy All Software Blog
https://www.destroyallsoftware.com/blog/2014/tdd-straw-men-and-rhetoric

Slow database test fallacy (DHH)
http://david.heinemeierhansson.com/2014/slow-database-test-fallacy.html

sethvargo/chefspec · GitHub
https://github.com/sethvargo/chefspec

When TDD doesn’t work. | 8th Light
http://blog.8thlight.com/uncle-bob/2014/04/30/When-tdd-does-not-work.html

(9) RIP TDD
https://www.facebook.com/notes/kent-beck/rip-tdd/750840194948847

Mais uma vez… TDD não é bala de prata! | blog.caelum.com.br
http://blog.caelum.com.br/mais-uma-vez-tdd-nao-e-bala-de-prata/

My Links
http://delicious.com/ajlopez/tdd

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

June 19, 2014

TDD: Links, News And Resources (19)

Previous Post
Next Post

BDD / ATDD for your Agile REST API, part 2 – Pragmatic API
http://www.pragmaticapi.com/2013/01/21/bdd-atdd-for-your-agile-rest-api-part-2/

BDD / ATDD for your Agile REST API – Pragmatic API
http://www.pragmaticapi.com/2013/01/12/bdd-atdd-for-your-agile-rest-api/

Monogamous TDD | 8th Light
http://blog.8thlight.com/uncle-bob/2014/04/25/MonogamousTDD.html

Parleys.com – Building on solid foundations by Steve Freeman, Nat Pryce -
http://parleys.com/play/51b6545ae4b01033a7e4b744/chapter3/about

Code Coverage of QUnit Tests using Istanbul and Karma
http://ariya.ofilabs.com/2013/10/code-coverage-of-qunit-tests-using-istanbul-and-karma.html

TDD is dead. Long live testing. (DHH)
http://david.heinemeierhansson.com/2014/tdd-is-dead-long-live-testing.html

gotocon.com/dl/goto-berlin-2013/slides/SteveFreeman_TestDrivenDevelopmentThatsNotWhatWeMeant.pdf
http://gotocon.com/dl/goto-berlin-2013/slides/SteveFreeman_TestDrivenDevelopmentThatsNotWhatWeMeant.pdf

Steve Freeman – Test-Driven Development (that’s not what we meant) on Vimeo
http://vimeo.com/83960706

lihaoyi/utest
https://github.com/lihaoyi/utest

Clean Code Cheat Sheet | bbv Blog
http://blog.bbv.ch/2013/06/05/clean-code-cheat-sheet/

Please don’t use Cucumber | Jimmy Cuadra
http://www.jimmycuadra.com/posts/please-don-t-use-cucumber

Generative Testing – Pivotal Tracker
http://www.pivotaltracker.com/community/tracker-blog/generative-testing

Steve Tooke – The Cucumber Test Trap
http://tooky.co.uk/the-cucumber-test-trap/

Microsoft Fakes Framework in Visual Studio 2012
http://www.dotnetcurry.com/showarticle.aspx?ID=963

Introducing SharePoint Emulators – Microsoft Application Lifecycle Management – Site Home – MSDN Blogs
http://blogs.msdn.com/b/visualstudioalm/archive/2012/11/26/introducing-sharepoint-emulators.aspx

Test Driven Development in SharePoint 2010
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/5e5d8d50-25e2-45d1-b210-9aac17ddba56/test-driven-development-in-sharepoint-2010?forum=sharepointdevelopmentprevious

TDD in Sharepoint Mocking/Testing user privilages – Stack Overflow
http://stackoverflow.com/questions/9160897/tdd-in-sharepoint-mocking-testing-user-privilages

Test-Driven-Development with SharePoint 2010 By Andreas Rudolf Aschauer, BSc | The Unit Testing Blog – Typemock
http://blog.typemock.com/2010/07/01/test-driven-development-with-sharepoint-2010-by-andreas-rudolf-aschauer-bsc

SPCA2013 – Test-driven Development with SharePoint 2013 and Visual …
http://www.slideshare.net/nccomms/spca2013-testdriven-development-with-sharepoint-2013-and-visual-studio

Part 1 — SharePoint Retreat–TDD and Unit Testing, the methodology used. – Blog of an overweight SharePoint addict
http://www.myfatblog.co.uk/index.php/2011/03/part-1-sharepoint-retreattdd-and-unit-testing-the-methodology-used/

Having Trouble with Small Steps? Why? You already do them. | James Grenning’s Blog
http://www.renaissancesoftware.net/blog/archives/501

The True Corruption of Agile | 8th Light
http://blog.8thlight.com/uncle-bob/2014/03/28/The-Corruption-of-Agile.html

Survey Result on Usage of TDD | codecentric Blogcodecentric Blog
https://blog.codecentric.de/en/2010/05/survey-result-on-usage-of-tdd/

My Links
http://delicious.com/ajlopez/tdd

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

June 5, 2014

TDD: Links, News And Resources (18)

Previous Post
Next Post

Can TDD Help Reduce Integration Time?
https://www.renaissancesoftware.net/blog/archives/364

Elixir is for programmers
http://blog.pluralsight.com/elixir-is-for-programmers

StudiesOfTestDrivenDevelopment – Agile Bibliography
http://biblio.gdinwiddie.com/biblio/StudiesOfTestDrivenDevelopment

Matt Sears | Minitest Quick Reference
http://mattsears.com/articles/2011/12/10/minitest-quick-reference

Kickstart your next project with a Walking Skeleton – Code Climate Blog
http://blog.codeclimate.com/blog/2014/03/20/kickstart-your-next-project-with-a-walking-skeleton/

Concordion – Technique
http://www.concordion.org/Technique.html

Code Kata
http://katas.softwarecraftsmanship.org/

Expectations by jaycfields
http://jayfields.com/expectations/

Reused Abstractions Principle (RAP) – Software People Inspiring
http://codemanship.co.uk/parlezuml/blog/?postid=934

When Should You Think? | 8th Light
http://blog.8thlight.com/uncle-bob/2014/03/11/when-to-think.html

Test-Driven Development. A Cognitive Justification? – Steve Freeman
http://www.higherorderlogic.com/2008/06/test-driven-development-a-cognitive-justification/

Using No Mocks to Improve Design « Arlo Being Bloody Stupid
http://arlobelshee.com/the-no-mocks-book/

learn Scala with TDD – Stack Overflow
http://stackoverflow.com/questions/4194660/learn-scala-with-tdd

How Scala promotes TDD
http://www.slideshare.net/shaiyallin/how-scala-promotes-tdd

TDD is a Path
http://stevenjackson.github.io/2014/01/26/tdd-is-a-path/

trikitrok/StringCalculatorAdditionUsingGoogleMock
https://github.com/trikitrok/StringCalculatorAdditionUsingGoogleMock

Should you TDD on a Lean Startup? — Tech Talk — Medium
https://medium.com/tech-talk/e810d9b4fb02

So Long, and Thanks for All the Tests
http://www.infoq.com/presentations/agile-practices-testing

XP Epsiode
http://www.objectmentor.com/resources/articles/xpepisode.htm

gregmalcolm/python_koans
https://github.com/gregmalcolm/python_koans

TDD, Architecture & Non-Functional Goals – All Of These Things Belong Together – Software People Inspiring
http://codemanship.co.uk/parlezuml/blog/?postid=1213

Jeremy Pollack of Ancestry.com on Test-driven Development and More
http://www.infoq.com/interviews/Jeremy-Pollack-Ancestry.com-Test-driven-Development

the middle hexagon should be independent of the adapters | silk and spinach
http://silkandspinach.net/2005/03/22/the-middle-hexagon-should-be-independent-of-the-adapters/

trikitrok/RockPaperScissorsPatternMatchingOCaml
https://github.com/trikitrok/RockPaperScissorsPatternMatchingOCaml

My Links
http://delicious.com/ajlopez/tdd

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

June 2, 2014

TDD: Links, News And Resources (17)

Previous Post
Next Post

RockPaperScissorsDoubleDispatchRuby/RockPaperScissors.rb at master · trikitrok/RockPaperScissorsDoubleDispatchRuby
https://github.com/trikitrok/RockPaperScissorsDoubleDispatchRuby/blob/master/RockPaperScissors.rb

Refactoring by the Book | ThoughtWorks
http://www.thoughtworks.com/insights/blog/refactoring-book

Responsible Design… by J. B. Rainsberger [PDF/iPad/Kindle]
https://leanpub.com/ResponsibleDesignAndroid-Part1

Agile & Coding: From the streets of Test Driven Development: JavaScript
http://davidvujic.blogspot.se/2013/06/from-streets-of-test-driven-development.html

Mistaeks I Hav Made: Refactoring Interfaces
http://www.natpryce.com/articles/000746.html

Jay Fields’ Thoughts: REPL Driven Development
http://blog.jayfields.com/2014/01/repl-driven-development.html

Infinitest – Jayway
http://www.jayway.com/2011/09/21/infinitest/

Infinitest
http://infinitest.github.io/

Metrics based Refactoring for cleaner codeGraham Brooks’ blog
http://www.grahambrooks.com/blog/metrics-based-refactoring-for-cleaner-code/

A quick overview of NUnit tests – CodeProject
http://www.codeproject.com/Tips/716692/A-quick-overview-of-NUnit-tests

Windows Phone TDD Part 2: Working with Caliburn.Micro – CodeProject
http://www.codeproject.com/Articles/718081/Windows-Phone-TDD-Part-2-Working-with-Caliburn-Mic

The Deep Synergy Between Testability and Good Design on Vimeo
http://vimeo.com/15007792

Independent Study :: El Fin | Derek Hammer
http://www.derekhammer.com/2010/02/25/independent-study-el-fin

“The Clean Code Talks — Unit Testing” – YouTube
http://www.youtube.com/watch?v=wEhu57pih5w&list=PLD0011D00849E1B79

ianrae/mettle-framework
https://github.com/ianrae/mettle-framework

Mocks for Commands, Stubs for Queries
http://blog.ploeh.dk/2013/10/23/mocks-for-commands-stubs-for-queries/

Implementing a Flowchart with SVG and AngularJS – CodeProject
http://www.codeproject.com/Articles/709340/Implementing-a-Flowchart-with-SVG-and-AngularJS

My Links
http://delicious.com/ajlopez/tdd

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

May 29, 2014

TDD: Links, News And Resources (16)

Previous Post
Next Post

Commentary on ‘Roman Numerals Kata with Commentary’ | F# for fun and profit
http://fsharpforfunandprofit.com/posts/roman-numeral-kata/

TDD and Refactoring with LEGO
http://www.infoq.com/presentations/tdd-lego

Home – Chai
http://chaijs.com/

Programmers Without TDD Will be Unemployable by 2022 | Web Builder Zone
http://css.dzone.com/articles/programmers-without-tdd-will

Workflows of Refactoring
http://martinfowler.com/articles/workflowsOfRefactoring/

The Transformation Priority Premise | 8th Light
http://blog.8thlight.com/uncle-bob/2013/05/27/TheTransformationPriorityPremise.html

xbehave/xbehave.net
https://github.com/xbehave/xbehave.net

Feelings Erased: Mocks are “breaking encapsulation”? Here’s why I disagree…
http://feelings-erased.blogspot.com.es/2014/01/mocks-are-breaking-encapsulation-heres.html

Getting Started · Arquillian Guides
http://arquillian.org/guides/getting_started/

Triangulation in Test-driven Development – YouTube
http://www.youtube.com/watch?v=E8gipX_C5fM&feature=youtu.be

Visual Studio 2012: “Where is the Test Toolbar. Couldn’t find it anywhere” – Microsoft Application Lifecycle Management – Site Home – MSDN Blogs
http://blogs.msdn.com/b/visualstudioalm/archive/2012/09/11/visual-studio-2012-where-is-the-test-toolbar-couldn-t-find-it-anywhere.aspx

Robert C. Martin – The Land that Scrum Forgot – YouTube
http://www.youtube.com/watch?v=hG4LH6P8Syk

Mistaeks I Hav Made
http://www.natpryce.com/index.html

Mistaeks I Hav Made: Visualising Test Terminology
http://www.natpryce.com/articles/000772.html

Skills Matter : In The Brain of Carlos Ble: Behaviour-driven
http://skillsmatter.com/podcast/home/behavior-driven-rias-with-javascript

Putting An Age-Old Battle To Rest – The Code Whisperer
http://blog.thecodewhisperer.com/2013/12/07/putting-an-age-old-battle-to-rest/

Beyond Mock Objects – The Code Whisperer
http://blog.thecodewhisperer.com/2013/11/23/beyond-mock-objects/

Go Convey
http://smartystreets.github.io/goconvey/

TDDjangoTutorial
http://www.tdd-django-tutorial.com/

My Links
http://delicious.com/ajlopez/tdd

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

May 27, 2014

TDD: Links, News And Resources (15)

Previous Post
Next Post

Testing Your JavaScript with Jasmine | Nettuts
http://net.tutsplus.com/tutorials/javascript-ajax/testing-your-javascript-with-jasmine/

O’Reilly Webcast: TDD Web Development from Scratch with Python – YouTube
http://www.youtube.com/watch?v=o38mZWxywmM

Test-Driven Web Development with Python
http://chimera.labs.oreilly.com/books/1234000000754

Obey the Testing Goat!
http://www.obeythetestinggoat.com/

jquery/qunit
https://github.com/jquery/qunit

RubyTapas Freebie – Gem-Love Part 3 | Virtuous Code
http://devblog.avdi.org/2013/10/23/rubytapas-freebie-gem-love-part-3/

Unit Testing “Hello World” – AngularJS Video Tutorial – @eggheadio
http://egghead.io/lessons/angularjs-unit-testing-hello-world

Test Driven Development (TDD) with Clojure – Mein(un)sinn
http://velrok.github.io/blog/2013/10/20/test-driven-development-tdd-with-clojure/

http://www.objectmentor.com/resources/articles/WorkingEffectivelyWithLegacyCode.pdf
http://www.objectmentor.com/resources/articles/WorkingEffectivelyWithLegacyCode.pdf

kerryb/goos-ruby
https://github.com/kerryb/goos-ruby

marick/growing-oo-software-in-ruby
https://github.com/marick/growing-oo-software-in-ruby

pytest: helps you write better programs
http://pytest.org/latest/

http://juanmagomez.wordpress.com/2013/10/16/tests-primero-codigo-produccion-despues/#
refactor testing tdd

Testing en la Conferencia Agile Spain 2.013
http://iwt2-javierj.tumblr.com/post/64211981156/testing-en-la-conferencia-agile-spain-2-013

TDD With Python and Pylons – An Experiment in Scotch
http://www.anexperimentinscotch.com/2008/10/tdd-with-python-and-pylons/

test double | double takes | JavaScript Testing Tactics.
http://blog.testdouble.com/posts/2013-10-03-javascript-testing-tactics.html

Learn MVC (Model view controller) Step by Step in 7 days – Day 2 – CodeProject
http://www.codeproject.com/Articles/259560/Learn-MVC-Model-view-controller-Step-by-Step-in-7

Testable JavaScript
http://www.infoq.com/presentations/javascript-testing

Some great resources to begin learning node.js – barbarian meets coding
http://www.barbarianmeetscoding.com/blog/2013/10/07/some-great-resources-to-begin-learning-node-dot-js/

My Links
http://delicious.com/ajlopez/tdd

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

May 24, 2014

TDD: Links, News And Resources (14)

Previous Post
Next Post

Let’s Code: Test-Driven JavaScript
http://www.letscodejavascript.com/

Crisp’s Blog » Good and Bad Technical Debt (and how TDD helps)
http://blog.crisp.se/2013/10/11/henrikkniberg/good-and-bad-technical-debt

pinocchio — extensions for the ‘nose’ unit testing framework
http://darcs.idyll.org/~t/projects/pinocchio/doc/

The Land that Scrum Forgot – Scrum Alliance
http://www.scrumalliance.org/community/articles/2010/december/the-land-that-scrum-forgot

Steve Freeman
http://www.higherorderlogic.com/

Mistaeks I Hav Made
http://www.natpryce.com/

Growing C++ Software Guided by Tests
http://www.infoq.com/presentations/c-plus-plus-tests

Slow Tests are the Symptom, not the Cause – Re-factor
http://re-factor.com/blog/2013/09/27/slow-tests-are-the-symptom-not-the-cause/

http://www.objectmentor.com/resources/articles/TheHumbleDialogBox.pdf
http://www.objectmentor.com/resources/articles/TheHumbleDialogBox.pdf

Tidalwave – Blog
http://tidalwave.it/fabrizio/blog/design/

Testing code is simple – Saving the planet, one website at a time
http://th3james.github.io/blog/2013/09/25/testing-code-is-simple/

Introducción al TDD (con JS) y porque no hay que evitarlo « Me.log( … )
http://tehsis.com.ar/2013/09/introduccion-al-ttd-javascript-y-porque-no-hay-que-evitarlo/

Test First | 8th Light
http://blog.8thlight.com/uncle-bob/2013/09/23/Test-first.html

introduction-1.3.1.js
http://pivotal.github.io/jasmine/

mhevery/jasmine-node
https://github.com/mhevery/jasmine-node

Beyond Test Driven Development | Liz Keogh, lunivore
http://lizkeogh.com/2012/06/24/beyond-test-driven-development/

A Case Against Cucumber | 8th Light
http://blog.8thlight.com/kevin-liddle/2013/09/18/a-case-against-cucumber.html

(7) Marco Antonio González Gómez-Caro – Google+
https://plus.google.com/u/0/102357632527551782304/posts?cfem=1

Duplicated Test Code & High Coupling – Software People Inspiring
http://codemanship.co.uk/parlezuml/blog/?postid=1182

Behavior Driven Development
http://www.slideshare.net/lunivore/behavior-driven-development-11754474

My Links
http://delicious.com/ajlopez/tdd

Stay tuned!

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

Older Posts »

The Shocking Blue Green Theme. Create a free website or blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

Join 65 other followers