Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ThemisNew to Visual Studio Code? Get it now.
Themis

Themis

Rubem Vasconcelos

|
50 installs
| (13) | Free
Themis is a polyglot contract testing generator.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Themis - A Polyglot Contract Testing Generator

Themis is a polyglot contract testing generator. It generates snippets scaffolds for consumer and provider, and also commands for running the tests. It uses Pact, so, it supports different programming languages.

Features

  • Use "themisProvider" snippet to generate contract testing scaffold for provider.

alt text

  • Use "themisConsumer" snippet to generate contract testing scaffold for consumer.

alt text

  • Use the VSCode command "Run Provider Contracts" to run provider testings. (Only available for Javascript and Typescript)

alt text

  • Use the VSCode command "Run Consumer Contracts" to run consumer testings. (Only available for Javascript and Typescript)

alt text

  • Use the VSCode command "Publish Contracts on Pact Broker" to publish contracts on Pact Broker. (You should have a valid Pact Broker Token and base URL, only available for Javascript and Typescript)

When you have your PACT BROKER TOKEN and PACT BROKER BASE URL exported. alt text

When you don't have your PACT BROKER TOKEN and PACT BROKER BASE URL exported. alt text

Requirements

  • Supported languages for snippets: Javascript, Typescript, Ruby, Go, Java, and Python.

  • Support languages for commands: Javascript.

Javascript Requirements

  • Jest
  • Pact Foundation

Typescript Requirements

  • Jest
  • Pact Foundation

Ruby Requirements

  • Pact Foundation
  • Pact-consumer-minitest for minitest

Go Requirements

  • Testing package
  • Pact Foundation

Java Requirements

  • JUnit
  • pact-jvm-consumer-junit

Python Requirements

  • Pytest
  • Pact Foundation

Release Notes

1.0.0

  • Snippets for Typescript, Javascript, Ruby, Go, Java and Python:
    • Themis Consumer
    • Themis Provider
  • Commands for Typescript and Javascript:
    • Run Consumer Contracts
    • Run Provider Contracts
    • Publish Contracts on Pact Broker
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft