TestingDocs.com
    Software Testing website
    • Automation
      • Selenium
      • JBehave Framework
    • Tutorials
      • MySQL Tutorials
      • Testlink
      • Maven
      • Git
    • IDEs
      • IntelliJ IDEA
      • Eclipse
    • Flowcharts
      • Flowgorithm
      • Raptor
    • About

    Jasmine

    Getting Started with Jasmine Standalone

    Jasmine standalone

    The instructions in the post are for Jasmine standalone which is a browser-based environment for running the specifications aka test cases. Jasmine standalone allows you to run the specs using browser-based Jasmine SpecRunner. In later posts, we will see other environments like Node.js , command line etc.

    Steps to setup Jasmine standalone in your project:

    To install Jasmine standalone on your computer, you need to download jasmine standalone distribution.

    Pick the latest version and the format. For Windows operating system, you can download the .zip format. For the Linux operating system, you can download the .tar.gz.

    Releases

    https://github.com/jasmine/jasmine/releases

     

     

    Create a Jasmine directory in your project.

    Explode or unpack the distribution and move it under to your project folder.

    The folder structure of the standalone tool is shown in the picture:

    Jasmine standalone directory structure

     

    The lib folder contains the framework files.

    The src folder in the picture contains the Application Javascript source files
    that you want to test.

    The spec folder contains the JavaScript testing specification files.

    The SpecRunner.html is the test case runner HTML page. You can run this page in the browser to see the test results. The tool comes with sample examples to test a Player JavaScript object.

     

    Related Posts

    Install VSCode Plugins from Marketplace

    Jasmine /

    Install VSCode Plugins from Marketplace

    Write tests with Jasmine Standalone

    Jasmine /

    Write tests with Jasmine Standalone

    Jasmine : A Behavior Driven Javascript Framework

    Jasmine /

    Jasmine : A Behavior Driven Javascript Framework

    Install Visual Source Code IDE on Windows 10

    Jasmine /

    Install Visual Source Code IDE on Windows 10

    ‹ Jasmine : A Behavior Driven Javascript Framework› Write tests with Jasmine Standalone

    Recent Posts

    • ChatGPT Plans Free and PlusChatGPT Subscription Plans
    • Stellar Converter for Database ToolStellar Converter for Database
    • Stellar MySQL Log AnalyzerStellar Log Analyzer for MySQL
    • Stellar Repair for MySQLStellar Repair for MySQL
    • ChatGPT IntroductionChatGPT Capabilities
    • How to secure your SQL Database: Tips and Tricks
    • ChatGPT4 Conversational AI FeaturesChatGPT4 Conversational AI Features
    • Trends in Software EngineeringShaping the Future of Development: Exploring Key Trends in Software Engineering
    • Java PerformanceImproving Java Performance with Multithreading
    • QDrant Vector DatabaseOpen-source Vector Databases
    • Difference between PHP and JavaScript?
    • Bing AI Browser Web ContentBing Conversation Styles
    • ChatGPT PreviewChatGPT Introduction
    • Open Source AI Frameworks TensorFlowOpen Source AI Frameworks
    • Artificial Intelligence Tools

    Back to Top

    Links

    • Contact
    • Privacy Policy
    • Cookie Policy

    www.TestingDocs.com