Skip to main content

Home/ iQ Web Team/ Group items tagged unit-testing

Rss Feed Group items tagged

Michael Yagudaev

Umbraco CMS - 1 views

  • Assert.AreEqual(2, results.Count());
    • Michael Yagudaev
       
      Testing parser returned expected number of matches
  • Assert.AreEqual(2, parameters.Count); Assert.AreEqual("asdfasdfasdf", parameters["blah"]); Assert.AreEqual("234234234", parameters["erwerwer"]);
  • Assert.AreEqual(1, parameters.Count); Assert.AreEqual("asdfee", parameters["test"]);
  • ...1 more annotation...
  • Assert.AreEqual(2, results.Count());
  •  
    Umbraco is an Open Source .NET based CMS. As always open source projects can teach us a lot about how things can be done properly (usually). Here I opened one of the unit test files just to show how they do unit testing in that project. This project uses a lot of the same technologies we use. Should be helpful. Play around with it, you might just learn something :).
Melissa Kendall

Testing and specifying JavaScript code with Jasmine | Web Builder Zone - 3 views

  •  
    In light of the new bunch of unit testing ideas going around, thought this might be interesting. Note: Behaviour Driven Development (BDD) is a form of TDD that attempts to involve non-technical stakeholders in the development process.
Michael Yagudaev

js-test-driver - Remote javascript console - Google Project Hosting - 1 views

  • See JsTestDriver in Action
    • Michael Yagudaev
       
      Watch this
  • For IntelliJ IDEA
    • Michael Yagudaev
       
      aka WebStorm
  • JsTestDriver for Eclipse
1 - 3 of 3
Showing 20 items per page