Giter Site home page Giter Site logo

sumigoma / angular-karma_test-explorer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from raagh/angular-karma_test-explorer

0.0 1.0 0.0 9.58 MB

vscode extension for easy angular testing and debugging

Home Page: https://marketplace.visualstudio.com/items?itemName=raagh.angular-karma-test-explorer

License: MIT License

TypeScript 99.83% JavaScript 0.17%

angular-karma_test-explorer's Introduction

Angular/Karma Test Explorer for Visual Studio Code

The Angular/Karma Test Explorer extension allows you to run or debug your Angular or Karma tests with the Test Explorer UI and the Debugger for Chrome extensions on Visual Studio Code.

Example run tests

Build Status

Features

  • See all angular tests in the side bar without running them.
  • Reload tests manually by the reload button in the UI.
  • Run all tests together, run set of tests, run single test and see results in the UI.
  • Shows a failed test's log when the test is selected in the explorer.
  • Block during test execution.
  • Debug tests (Please read the special notes about this feature).
  • Cancel current run (Please read the special notes about this feature).
  • Lets you choose test suites or individual tests in the explorer that should be run automatically after each file change.
  • Supports Angular CLI projects.
  • Supports standalone karma (specify "Karma" as projectType).
  • Supports non CLI Angular projects (specify "Angular" as projectType).
  • Supports multi-root workspaces(only one angular app per workspace).
  • Adds CodeLenses to your test files for starting and debugging tests.
  • Adds Gutter decorations to your test files showing the tests' state.
  • Adds line decorations to the source line where a test failed.
  • Loads values from user karma.conf.js (some get removed to make the explorer work correctly).
  • Detects configuration changes and reload tests automatically.
  • Allows configuration for different type of workflows: Angular project path, project type, karma.conf path, default project name for multiple projects inside one root.
  • Forwards the console output from Karma to a VS Code output channel(Test Explorer Logs).

How to use it?

Planned features

  • Detect file changes(workspace, new test definitions) and reload tests automatically.

What about bugs and fixes?

  • If something goes wrong you will see error logs on vscode Test Explorer Logs output channel.
  • If you find a bug or think that a feature is missing and is not in the backlog please report it using the appropiate github issue template.
  • If you wanna help out please read the contribution guidelines for this project.
  • If you have any urgent question you might wanna check our Gitter Channel for a direct chat with me or other people using the extension.

Do you like my work? Then consider becoming a Patron!

angular-karma_test-explorer's People

Contributors

raagh avatar hbenl avatar joaorenno avatar future-pirate-king avatar julianschwuchow avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.