https://github.com/ankush/frappe-test-runner
VSCode extension to run Frappe Tests
https://github.com/ankush/frappe-test-runner
Last synced: about 1 year ago
JSON representation
VSCode extension to run Frappe Tests
- Host: GitHub
- URL: https://github.com/ankush/frappe-test-runner
- Owner: ankush
- Created: 2022-10-26T07:29:21.000Z (over 3 years ago)
- Default Branch: develop
- Last Pushed: 2022-12-19T18:09:56.000Z (over 3 years ago)
- Last Synced: 2025-05-09T03:52:08.774Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=AnkushMenat.frappe-test-runner
- Size: 70.3 KB
- Stars: 17
- Watchers: 3
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Frappe Test Runner

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](https://github.com/ankush/frappe_test.vim) instead.
## Credit
This is heavily inspired by [Django Test Runner](https://github.com/christherama/django-test-runner) and reuses some code from it.