FitNesse, An Introduction

1,672 views 13 slides Jun 01, 2015
Slide 1
Slide 1 of 13
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13

About This Presentation

This presentation provides an introduction to the FitNesse automation tool.


Slide Content

FitNesse Achini Jayasena Chalana Kahadawala

Acceptance Testing P erformed to determine whether or not the software system has met the requirement specifications. The main purpose is to evaluate the system's compliance with the business requirements and verify if it is has met the required criteria for delivery to end users. There are various forms of acceptance testing: - User acceptance Testing - Business acceptance Testing - Alpha Testing - Beta Testing

Fitnesse What is it? Software collaboration tool Communication tool Software testing tool Wiki Work with java, C#, python and smalltalk Use Automated Functional testing Integration testing

Fit/ Fitnesse F ramework for I ntegrated T esting FitNesse is wiki using FIT.

Comparison Tests are written before the code, so this approach supports TDD i.e Test Driven Development O pen source Execution of the tests can be automated. Test are deterministic. Increase the business value.

Architecture Testing within the FitNesse system involves four components per test The wiki page which expresses the test as a decision table. A testing engine, which interprets the wiki page. A test fixture, which is invoked by the testing engine and in turn invokes the system under test. The system under test, which is being tested

Testing engines FIT- Framework for Integrated Testing An engine that processes each table using the Fixture Code FitNesse is the tool that display the result of the Fit test Fit test may not be run on all platforms SLIM - Simple Invocation method All tables are processes in FitNesse The slim Executor to break down the test into simple instructions and the Slim Runner then uses the fixtures to call the system Test can work on all platforms

Fit inside the FitNesse

Slim inside the FitNesse

Fixture, What? Fit( Nesse ) and Fixtures Fit need hooks to the software under test; these hooks are called Fixtures Think of a fixture as sort of a view/controller or user interface. Fixture translates the text in a table to function calls in the software.

How does it work Download f itnesse.jar and fitNesselibrary.jar http :// fitnesse.org/FitNesseDownload Configuration Java –jar fitnesse.jar –p 8080

Thank you