Friday, January 11, 2013

TDD StringCalculator kata in TypeScript

Inspired by Roy Osherove StringCalculator http://osherove.com/tdd-kata-1/ and playing around with TypeScript, I tried to make my own version in TypeScript.

I have made this Kata 2 times in TypeScript, first time just to get the feeling, second time as a screencast, and thats the one I share with you.

I have written my tests Visual Studio 2012 with webessentials and used the jasmine test framework, and used Chutzpah as test runner.
Chutzpah supports both Qunit and jasmine testing framework.
Chutzpah uses the phantomJS headless browser to run your tests. Chutzpah also support for TeamCity (CI server) to automatically run your tests.



TypeScript StringCalculator Kata from Ronnie on Vimeo.


32 comments:

  1. Its really an Excellent post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog. Thanks for sharing....
    python Training in Pune
    python Training in Chennai
    python Training in Bangalore

    ReplyDelete
  2. Resources like the one you mentioned here will be very useful to me ! I will post a link to this page on my blog. I am sure my visitors will find that very useful
    Resources like the one you mentioned here will be very useful to me ! I will post a link to this page on my blog. I am sure my visitors will find that very useful
    Best Devops Training in pune
    Devops Training in Bangalore
    Power bi training in Chennai

    ReplyDelete
  3. Great Article… I love to read your articles because your writing style is too good, its is very very helpful for all of us and I never get bored while reading your article because, they are becomes a more and more interesting from the starting lines until the end.
    Data Science training in Chennai
    Data science training in Bangalore
    Data science training in pune
    Data science online training
    Data Science Interview questions and answers
    Data science training in bangalore

    ReplyDelete
  4. Data Science is the future of Artificial Intelligence. Therefore, it is very important to understand what is Data Science and how can it add value to your business.
    Data Science institute in Mumbai which includes classroom and online training. Along with Classroom training, we also conduct online training using state-of-the-art technologies to ensure the wonderful experience of online interactive learning. Data Science institute in Mumbai

    ReplyDelete
  5. Data Science is the future of Artificial Intelligence. Therefore, it is very important to understand what is Data Science and how can it add value to your business.
    Best institute for Data Science in Bangalore which includes classroom and online training. Along with Classroom training, we also conduct online training using state-of-the-art technologies to ensure the wonderful experience of online interactive learning. Best institute for Data Science in Bangalore

    ReplyDelete
  6. It’s great to come across a blog every once in a while that isn’t the same out of date rehashed material. Fantastic read.
    Java Training in Chennai

    Java Training in Velachery

    Java Training in Tambaram

    Java Training in Porur

    Java Training in Omr

    Java Training in Annanagar


    ReplyDelete
  7. I truly like your style of blogging. I added it to my preferred's blog webpage list and will return soon…
    data analytics courses in hyderabad with placements

    ReplyDelete
  8. IDM speed is in actuality remarkable. You to situate the tempo of downloads to your hold preference. You will find currently numerous IDM Free Download are accessible and the IDM patch is accessible.. IDM Crack Download 64 Bit 2022

    ReplyDelete

  9. Thanks for the helpful info on the top CA colleges in Hyderabad. Much appreciated!.

    Best CA Colleges in Hyderabad

    ReplyDelete
  10. Your information on the finest CA institutes in Hyderabad is highly appreciated. Many thanks!
    Best CA institutes in Hyderabad

    ReplyDelete
  11. It's a really good post. I recently came across your site and wanted to let you know how much I've been enjoying reading it. I appreciate you sharing.
    Best Juniour Colleges In Hyderabad For MEC

    ReplyDelete
  12. Continue to send in more valuable and astonishing information on your blog so that we enjoy it.AWS Training in Hyderabad

    ReplyDelete
  13. The experience of working through the TDD StringCalculator kata in TypeScript, with tools like Jasmine and Chutzpah, underscores the importance of hands-on practice and iterative learning in mastering new skills—much like the approach in the Data Science Courses in Kansas by IIM SKILLS. Just as coding katas help solidify testing and development practices, structured data science courses offer practical exercises and real-world scenarios, ensuring students build a deep understanding of data analysis and modeling techniques through consistent practice. Data Science Courses in Kansas

    ReplyDelete
  14. Thanks for sharing the TDD StringCalculator kata in TypeScript! Your explanation of the test-driven development approach makes it easy to grasp the concepts involved. This kata is a fantastic way to practice TDD principles while honing TypeScript skills. Great resource for developers looking to improve their coding practices!
    Data science Courses in hamburg

    ReplyDelete
  15. This is a fantastic exploration of TDD in TypeScript using Roy Osherove's StringCalculator kata. The step-by-step approach, trying it multiple times and recording it as a screencast, adds depth to the learning experience. Using Jasmine for testing with Chutzpah and PhantomJS for headless test runs is a smart setup, especially with the integration support for TeamCity to automate the tests. This setup is well-suited for continuous integration and showcases a solid workflow for TDD in TypeScript! Data science courses in Gurgaon

    ReplyDelete
  16. Great job on implementing the TDD StringCalculator kata in TypeScript! It’s interesting to see how you’ve incorporated Jasmine for testing and used Chutzpah for running tests with PhantomJS. The approach of sharing your second attempt as a screencast is really helpful for others to follow along. Thanks for the insightful post!
    Data science courses in Gujarat






    ReplyDelete
  17. "Great article! For those who are passionate about data science and want to take their skills to the next level, the Data Science courses in Kochi could be a perfect fit."

    ReplyDelete
  18. Great job on making TDD accessible through the StringCalculator kata! The TypeScript code snippets you included were spot-on and really helped solidify the concepts.
    Data science Courses in Sydney

    ReplyDelete
  19. The author truly delivers a clear and engaging message. This blog is a great read for anyone
    Data science Courses in London

    ReplyDelete
  20. Your post on TDD and String Calculator Kata in TypeScript is excellent for those exploring test-driven development. Including common challenges or debugging tips would make it even more comprehensive.
    Data science courses in France

    ReplyDelete
  21. It's great to see how TypeScript can be used for TDD practices with something like the StringCalculator Kata. Using Jasmine for testing and Chutzpah as a test runner seems like a solid choice for this project. It’s also interesting that you integrated PhantomJS for headless testing, making the process more efficient!
    Data science Courses in City of Westminster

    Neel KBH
    kbhneel@gmail.com

    ReplyDelete
  22. This post shares an interesting approach to the TDD (Test-Driven Development) StringCalculator Kata using TypeScript. It highlights the author's journey of implementing the kata twice—first for practice and later as a screencast to demonstrate the process. Thank you for the Blog.
    Data science Courses in Ireland

    ReplyDelete
  23. Amazing content! These Digital Marketing Courses in Bangalore are designed to help you thrive in today’s digital world.

    ReplyDelete
  24. "Thank you for sharing such valuable insights! I really appreciated the depth of information and the clarity in your writing. It was extremely helpful!"
    Data Analytics Courses In Chennai

    ReplyDelete