Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Frappe Test RunnerNew to Visual Studio Code? Get it now.

Frappe Test Runner

Ankush Menat

|
247 installs
| (0) | Free
Run Frappe tests quickly
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Frappe Test Runner

Extension in action

This extension lets you run tests from Frappe app using single command or keybind.

Supported ways to run tests:

  • Run all test in open file
  • Run test nearest to the cursor in open file

Setup

  • Configure frappeTestRunner.siteName in settings. This site will be used by bench to run tests on.

Usage

  • Ctrl+shift+p > run nearest or run all.
  • Alternatively setup keyboard shortcuts from settings.

Note: keyboard shortcuts are not setup by default.

Vim user?

Checkout the vim plugin instead.

Credit

This is heavily inspired by Django Test Runner and reuses some code from it.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft