Coder Social home page Coder Social logo

cwt-cucumber-support's Introduction

CWT Cucumber Support

Let's create a tree view with vscode in TypeScript. In this project I'll start to implement a vscode extension which displays all your cucumber features and scenarios in a tree view.

On my blog you can find the articles to this repository:

Part 3 (Final Part)

In my last part about TreeViews I implemented the icons with respect to their last test result. Where the green check means passed, the red cross means failed and the yellow splash means the test step is undefined (step not implemented). With the play butten we execute all tests or we use the context menu to run a single feature file or just a single scenario.

final result

Part 2

Here I implemented on_item_clicked(..) to jump to the corresponding file and added a context menu to the tree view. There is no logic on the functions implemented yet, only two different logs, that we can see the functions are called accordingly.

context menu example

Part 1

In the first article, the extention parses only feature files and creates a menu entry at the navigation bar:

tree view example

cwt-cucumber-support's People

Contributors

those1990 avatar

Stargazers

Neeraj Vaidya avatar  avatar

Watchers

 avatar

Forkers

sushanth-bobby

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.