Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7544933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:48:03+00:00 2026-05-30T08:48:03+00:00

I write a small function which accept a string type variable as parameter. I

  • 0

I write a small function which accept a string type variable as parameter.

I am wondering if there is any way I can test my function?

I don’t want to use Unit Test thing because it is overkill.

Thank you for your responses.

UPDATE

Thanks all for your replies.

My case is, this function will be trigger by an event handler. However, I don’t want to bind the handle with my function and I just want to check if that function works.

So the best way is to write a unit test?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T08:48:04+00:00Added an answer on May 30, 2026 at 8:48 am

    You can use the immediate window and type the function call in there to test. Typically, one would use this thing while running an application, but it is also available at design time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i want to create functions what get the folder size. I write small function:
I need to write a small program that can detect that it has been
I'm trying to write a program with a function which returns a matrix with
I'm trying to write a small Python module which contain some mathematical functions. For
i have been working on a small demo and i wrote a function which
I have made a small function which should print some InfoPath files. It is
I'm using oh-my-zsh and wanted to write a small plugin which would executes command
Hello I have a small function which I use for searching for a users
I am trying to write a small demo which will maintain a fixed number
I have some (library API, so I can't change the function prototype) function which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.