Git Product home page Git Product logo

fitnesse-eclipse-integration's Introduction

fitNesse-eclipse-integration

A example to display the FitNesse Eclipse Integration

Add the below Dependency in POM.xml org.fitnesse fitnesse 20161106

Run the project from "Run Configurations -> Java Application -> New"

Give a suitable Name,

In the Main Class textbox type -> fitnesseMain.FitNesseMain

FitNesse will now start from the Eclipse, and can be accessed in localhost

Go to FitNesse UI page, create a Test Page and create a table for fitNesse Test fixture

!path target\classes

!|com.gi.fitnesse.CalculatorFixture| |first|second|addition?|multiply?| |1|3|4|3| |100|2|102|200|

Click on test to test the Java code.

If you want to DEBUG the code, add the below lines in the fitNesse fixture code

!define COMMAND_PATTERN {java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=1044 -cp %p %m}

then, go to Project, right click -> Debug As -> Debug Configurations -> Remote Java Application -> New

provide a suitable name, and give port as 1044 (as per mentioned in fixture)

then select the source tab -> Add -> Java Project -> select your project

Click on Apply and hit Cancel (Do Not Debug).

Now go to your fitNesse UI and hit Test (you will notice the browser will keep on loading, this is because you have added the DEBUG COMMAND in the fixture and Fitnesse is now avaiting for DEBUG Responder to pick up the FitNesse request)

Go back to your Eclipse, select DEBUG -> select the DEBUG option you added. Now you will notice that debug option will be enabled and source will point to the place where you placed your debug point

fitnesse-eclipse-integration's People

Contributors

gopikrishhnachokkalamani 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.