Chutzpah - A JavaScript Test Runner
Introduction
This fork is meant to build extension packages for Visual Studio 2022 only. It does not have any prebuilt packages yet.
Prerequisites:
- Visual Studio 2022
- chocolately
To build:
-
Check out source code
-
Open a Command Prompt. If you are using something other than Community offering, then set this msbuild location variable
setx Chutzpah_MSBuild_Path "Path_toMbuild_folder"
e.g.
setx Chutzpah_MSBuild_Path "C:\Program Files\Microsoft Visual Studio\2022\Professional\Msbuild\Current\Bin\amd64"
-
Run
build Install
-
Run
build Package
If all goes well, then you should see 2 vxis packages in _package
folder.
Pronunciation: hutz·pah
Chutzpah is an open source JavaScript test runner which enables you to run unit tests using QUnit, Jasmine, Mocha, CoffeeScript and TypeScript.
For comments, praise, complaints you can reach me on twitter at @mmanela.
Chutzpah supports the QUnit, Jasmine and Mocha testing frameworks. Chutzpah uses either JSDom, Chrome or PhantomJS to run your tests.
Get Chutzpah
- Command Line Runner nuget or chocolatey
- Visual Studio Test Adapter for Visual Studio 2015+
- Visual Studio Test Runner for 2015+
- Visual Studio Code Extension
Test Framework Versions
- Qunit 2.6.2
- Jasmine 2.9
- Mocha 3.2.0
Recent News
- Chutzpah 4.3 - Web Server Mode
- Chutzpah 4.0 – Batching, Inheritance and more*
- Chutzpah 3.3
- Chutzpah 3.2 – A smarter approach to compilation
Quick Links
- Full Documentation
- How do I use Chutzpah?
- How can I use it with RequireJS?
- How can I use it with TypeScript?
- How can I use it with CoffeeScript?
- How to build the code?
- How can I contribute to this project?
Building the code
- Clone the repo
- One time run .\build.bat install - This will install all dependencies
- Run .\build - This will build all the code and run tests.
- Open solution Chutzpah.NoVS.sln for normal changes
Features
Runs JavaScript unit tests from the command line
Run JavaScript unit tests from inside of Visual Studio
- Right click menu to run tests
- Shows test results in Error window
- Shows test results in Ouput window
- Integrates into VS 2012 Unit Test Explorer