BlackDiamond Studio | Mobilize.Net
  • BlackDiamond Studio Documentation
    • Introduction
    • BDS Portal
      • Sign Up
      • Sign In
      • Reset Password and Multifactor Authentication
      • User Interface
      • Projects List
        • Navigating the Projects List
      • Creating my first project
        • 1. What do you want to do?
        • 2. Name Project
        • 3. Set up Repository
        • 4. Connect to Snowflake
        • 5. Code
          • 1. Select a Template
          • 2. Extract DDL from Snowflake Account
          • 3. Upload my source code
            • Folder Names Not Allowed
      • Project Summary Page
      • Sharing a Project
      • Getting a Project Invite
      • Editing a Project Member's Role
      • Deleting a Project
    • Code Conversions
      • Converting SQL code to Snowflake
        • Conversion settings
      • Converting Scala code using Snowpark
      • Convert Python code using Snowpark (Coming soon)
      • Converting from the IDE
      • Conversion Errors
    • Online Code Editor
      • Running a Streamlit App
      • Writing Scala Code
      • Writing Python Code
      • Source Control (VS Code)
      • Run and Debug
      • Testing
      • Reports Explorer
      • SQL Tools
      • Snow Explorer
      • Metals (Scala)
      • Scala Notebooks
      • Contextual Menu
    • Code Insights
      • What to expect: Insight Reports
      • Language structures support
      • Scripting languages support
      • Reports Explorer
      • Storage of reports in client stage
    • Templates
      • Templates Dependencies
    • Use Cases
      • Assessment with SnowConvert
    • Submitting Bugs and Suggestions
    • Troubleshooting
      • Folder Naming
      • Cloning with GitLab
      • Third-party Cookies used in BlackDiamond Studio
    • System Requirements and Supported Browsers
    • Release Notes
  • Snowconvert Software License Agreement
Powered by GitBook
On this page
  1. BlackDiamond Studio Documentation
  2. Online Code Editor

Testing

PreviousRun and DebugNextReports Explorer

Last updated 2 years ago

BlackDiamond Studio can create a set of unit tests for all the migrated JavaScript Stored Procedures. This feature allows the user to execute, verify, and debug their Stored Procedure code before deploying it into the Snowflake cloud.

It is important to note that the execution of these tests depends on an active database connection to your Snowflake cloud.

Please consider that it might modify the data existing in your database. We recommend executing these test cases on a development database.

Steps:

  1. To generate the Stored Procedures Test, right-click on the folder or file containing your migrated stored procedures.

2. You will receive a confirmation request to proceed with the test generation process.

3. If you select the Yes option, a “test” folder will be generated with the new generated unit tests.

4. The test folder contains the unit test scripts, these scripts can be executed and debugged to verify your stored procedures implementation before deploying it into the Snowflake cloud.