Coder Social home page Coder Social logo

gdasai / fitnesse Goto Github PK

View Code? Open in Web Editor NEW

This project forked from unclebob/fitnesse

0.0 2.0 0.0 73.57 MB

FitNesse -- The Acceptance Test Wiki

Home Page: fitnesse.org

License: Other

JavaScript 25.52% CSS 1.09% Clojure 0.02% Java 73.02% HTML 0.34%

fitnesse's Introduction

Welcome to FitNesse, the fully integrated stand-alone acceptance testing framework and wiki.

To get started, check out http://fitnesse.org!

Quick start

Bug tracker

Have a bug or a feature request? Please open a new issue.

Community

Have a question that's not a feature request or bug report? Ask on the mailing list.

Edge builds

The latest stable build of FitNesse can be downloaded here.

Note: the edge Jenkins build produces 2 jars. fitnesse.jar is for use in Maven or Ivy. Users who just want to run FitNesse by itself should download fitnesse-standalone.jar instead of fitnesse.jar.

Developers

Issues and pull requests are administered at GitHub.

Building

Apache Ant and a proper internet connection is sufficient to build FitNesse. The build process will bootstrap itself by downloading Ivy (dependency management) and from there will download the modules required to build and test FitNesse.

To build and run all tests, run the command

$ ant

which builds the all target.

Running

To start the FitNesse wiki locally, for example to browse the local version of the User Guide

$ ant run

Testing

To run the unit tests:

$ ant unit_test

To run the acceptance tests:

$ ant acceptance_tests

There is a second source directory, srcFitServerTests, which contains units tests that test invocation of Fit servers written in Ruby, C++, and .NET. These tests are not run as part of the normal ant test-related targets. When using an IDE, make sure it does not invoke these tests when running the "normal" tests under the src directory.

Direct any questions to the FitNesse Yahoo group.

Working with Eclipse and IntelliJ

There are a few things to keep in mind when working from an IDE:

  1. The Ant build file does some extra things apart from compiling the code.

    • It sets the FitNesse version in a META-INF/FitNesseVersion.txt
    • It copies the dependencies to the lib folder so they can be used by the acceptance tests.

    Perform a

    $ ant post-compile
    

    to execute those actions. In your IDE it is possible to define "post-compilation" steps. If you set the "post-compile" target from the build file, you won't have any trouble with cleaning, building and executing tests from your IDE.

  2. Apache Ivy is used for dependency management. Your IDE can be set up to support Ivy. Alternatively,

    $ ant retrieve
    

    will download the dependencies and copy them to lib/, from where your IDE can pick them up.

Import FitNesse in Eclipse

  1. Clone the FitNesse Git repository from https://github.com/unclebob/fitnesse.
  2. Install the IvyDE plugin if you haven't already done so.
  3. Import FitNesse via Project... -> Java -> Java Project from existing Ant Buildfile. It asks from a javac target to use. Just pick any. Make sure both src and test directories are marked as source paths.
  4. Open Properties (right-mouse click). In Java Build Path select Libraries and Add Library.... Select IvyDE. The Main settings are okay by default. On the Settings tab, select ivysettings.xml from the project folder.
  5. While still in the Properties dialog, change the output folders in the Source tab: for the src directory, change it to classes, for the test directory, change it to test-classes. Apply the changes are you're good to go.

Import FitNesse in IntelliJ IDEA (15)

  1. Clone the FitNesse Git repository from https://github.com/unclebob/fitnesse.
  2. Install the IvyIDEA plugin if you haven't already done so.
  3. From the welcome screen (the one you get when all projects are closed), click Import Project.
  4. Select the folder containing the fitnesse project.
  5. Now the Import project wizard guides you through the import process:
    1. We're not importing from an existing model, so Create project from existing sources.
    2. Give it a name.
    3. IntelliJ finds the src and test folder.
    4. There are no plugins defined, so deselect those. The test-plugin-*.jar files are used for some unit tests.
    5. Everything should look fine in the review screen: one module named fitnesse with a src and a test folder.
    6. Select a JDK. At least Java 6 is required.
    7. Now IntelliJ starts looking for frameworks. It should come up with IvyIDEA.
    8. Finish the wizard. The project should be opened.
  6. We're almost there. The IvyIDEA plugin is not completely configured yet. To fix this open File -> Project Structure... go to Modules:
    1. Select the fitnesse module and set the output path to the classes folder and the test output path to test-classes. This ensures IntelliJ works nicely with the Ant tasks we want to execute as part of the build process.
    2. Select IvyIDEA. Tell it to use Module specific ivy settings and select ivysettings.xml from the project folder.
  7. Open the Ant Build tool, add the projects build.xml file and right click on the post-compile task. Select Execute on -> Before Compilation. Apply the changes are you're good to go.

fitnesse's People

Contributors

amolenaar avatar hansjoachim avatar fhoeben avatar jediwhale avatar raboof avatar six42 avatar mgaertne avatar woodybrood avatar unclebob avatar lupusdei avatar markhop avatar mwarhaftig avatar benilovj avatar stanio avatar dmitriykartashov avatar pordonj avatar gojko avatar awulder avatar antoine-aumjaud avatar darrinholst avatar conradthukral avatar linquize avatar gramlich-gip avatar kosta-github avatar andrey012 avatar nicolerauch avatar sergebug avatar konstantinvlasenko avatar clare avatar jdufner avatar

Watchers

James Cloos avatar Glenn Dasai 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.