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
- Configure
frappeTestRunner.siteName
in settings. This site will be used by bench to run tests on.
- Ctrl+shift+p > run nearest or run all.
- Alternatively setup keyboard shortcuts from settings.
Note: keyboard shortcuts are not setup by default.
Checkout the vim plugin instead.
This is heavily inspired by Django Test Runner and reuses some code from it.