Code snippet to generate codes for a test class/method

Full details:

  1. Go to Edit – Intellisense – Insert code snippet
    or Ctrl – K – X
  2. Select Test
  3. Select Test Method/Test Class to insert the snippet for test class/method.
  4. Note: If hovering your mouse pointer on Test Method/Test Class you will get short-cut of the snippet in tool tips.

Get it quickly:
Start typing testc/testm and then tab twice to insert the snippet for test class/method.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: