Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Should-getNew to Visual Studio Code? Get it now.
Should-get

Should-get

flothoni

|
43 installs
| (1) | Free
Syntax hightliting for should-get format
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Vscode extension to use should-get file format

This extension allow to add syntaxic coloration of should-get (test) and should-tap (result) format of file.

should -- Test command-line applications through .should files

shouldget is a single-file program to test command-line applications on Unix-like systems. It checks the standard output, or possibly another file, and parses for exact or regular expressions, possibly while counting them and checking their number of occurrences. It also parses and tests JSON data.

should outputs reports in .tap format and in JUnit-like XML.

should is written in Python with no external dependencies except from Python >= 3.4 and is intended to work on any command-line application

-- should your application outputs something, you can test it!

Demo

The demo/hello.should example covers the basic functionality :

# A .should file launches any command it encounters.
# Every line starting with a `#` is a comment.

echo "hello, world"

# Lines containing a `:` are test lines.
# The `test expression` is what is found at the right of the `:`.
# It should be found in the stdout, at least one time.

:world
:lo, wo


# What is at the left of the `:` are modifiers.
# One can specify the exact number of times the test expression has to appear.

1:hello
0:Bye-bye

Features

  • Syntaxic coloration of should-get and should-tap format.

Requirements

No requierment needed for this extension. You may need to install should.py script to launch tests. You can install Shouldget with the python pip manager:

pip install shouldget

Extension Settings

No settings for this extension

Known Issues

None

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft