JustCode is the first and only tool on the market today that can analyze, show and run your Jasmine tests, no hassles, no configuration or setup, it just works. What it takes to start running Jasmine tests right from within Visual Studio is to open a solution with the “jasmine.js” file included in it.
JustCode will analyze the whole solution and will display all Jasmine tests in the test runner window alongside any other tests you may have. Nested jasmine suites are supported as well.
You can expect all things that work for other test frameworks and languages to work here as well - filtering, grouping, and navigation.
To run your Jasmine tests in JustCode all you need to do is hit “Run” and JustCode will generate the required html test page and will populate it with everything it knows about your tests so they can be run successfully without any additional manual work. JustCode will start Internet Explorer browser, execute your Jasmine tests and show you the results.
There is even an option for showing the browser running the tests if you wish so. (JustCode->Options->Unit Testing):
Here the PlayerSpec.js file containing the Jasmine specs (tests) for “Player”, reference tags for the Player.js file and additional Song.js file that is required.
You can even include your own version of Jasmine.js or Jasmine-html.js or both, using js references and JustCode will make sure that it uses yours instead of the default Jasmine.js shipped with JustCode
For correct results there are some requirements (for this release though):
In some cases you may want to have a custom page for your Jasmine tests. JustCode supports that as well. Just add an html (or htm) web page with the same name as your jasmine tests file and JustCode will run these tests with your test web page instead of auto-generating one.
Keep in mind that Internet Explorer requires you to use “Mark of the Web” in the beginning of your page. We want to handle this requirement better in the future versions of JustCode.
The JustCode team
Chris Eargle is a Microsoft C# MVP with over a decade of experience designing and developing enterprise applications, and he runs the local .NET User Group: the Columbia Enterprise Developers Guild. He is a frequent guest of conferences and community events promoting best practices and new technologies. Chris is a native Carolinian; his family settled the Dutch Form region of South Carolina in 1752. He currently resides in Columbia with his wife, Binyue, his dog, Laika, and his three cats: Meeko, Tigger, and Sookie. Amazingly, they all get along... except for Meeko, who is by no means meek.
Copyright © 2016, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.