• Products
  • Services
  • Success
    • Enterprise
    • Embedded
    • Expertise
  • Resources
    • Commercial
    • Technical
  • Blog
  • Company
    • About us
    • Mission
    • Legal Info
    • Locations
    • Partners
    • Jobs
  • Contact Us
Home
Home

FitNesse Training Extended

learn.jpg

Audience: Analysts, Developers, Testers and Architects who want to gain in-dephth knowledge of an acceptance testing framework

 

Prerequistes: Knowledge of the Java programming language, basic knowledge of the Eclipse IDE, and some experience with software testing.

Duration: three or four days

Overview of FIT and FitNesse

First, we will give an introduction to acceptance testing and explain the differences to unit testing. Then we describe FIT ("Framework for Integrated Testing") and FitNesse. We will explain how to install and setup FIT and FitNesse. Furthermore, we will present an Eclipse PlugIn used to run FitNesse and develop FitNesse tests within Eclipse. In an exercise the participants will install FIT and FitNesse in their development environment.

Architecture of FitNesse

In this section we will examine the architecture of FIT, FitNesse and the included wiki. We will have a closer look at some FitNesse usage scenarios.

FitNesse Wiki and MarkUp Language

In this part we will learn to use FitNesse's markup language to create Wiki pages containing FitNesse Tests. The following items will be covered:

  • creating new wiki pages
  • properties of wiki pages
  • test pages, test suites and sub wikis
  • SetUp and TearDown pages
  • directives for collapsable sections, include pages
  • defining variables
  • customization: headers, footers, classpath
  • non-interpreted text
  • and more...

Working with Fixtures

To close the gap between FitNesse and the system under test, we need to develop bridges between them - called fixtures. We will discuss different fixture types and the situations where fixture type is appropriate. In this part we will have several practical sessions where the participants will write and run FitNesse tests for different requirements of a given Java program. The following topics will be covered:

  • Basic FIT fixtures: ColumnFixture, RowFixture, and ActionFixture.
  • TableFixture, Import, SummaryFixture, Data types in fixtures, Fixture arguments
  • FitLibrary Fixtures: SetUpFixture, CalculateFixture, DoFixture, SequenceFixture, ArrayFixture, CombinationFixture, ConstraintFixture, SetFixture
  • Important concepts: Flow Mode, System under test, Symbols, Markup Variables
  • Extending the behaviour of standard fixtures (optional): JUnitFixture, TimeoutColumnFixture, SystemAnalyzeFixture

Other FitNesse related libraries and concepts

In this part of the course we will learn several frameworks that utilize FitNesse for acceptance testing of different kinds of applications. In particular, we will deal with the following topics:

  • CommandLineFixture: run shell commands and check their output
  • DbFit: FitNesse fixtures for testing database code
  • ServiceFixture: acceptance testing of distributed and service-oriented systems
  • WebTest/Selenium: testing web applications using FitNesse and Selenium
  • eFitNesse: MicroDoc's framework for testing embedded OSGi Java ME enabled devices

Moreover, we will learn how to change the behavior of FitNesse Wiki using its FitNesse PlugIns architecture.

TDD, Acceptance Tests, Automation

This section deals with Test Driven Development (TDD) in general. We will see how Acceptance Testing and Unit Testing complement each other in the TDD process. Topics that will be discussed include:

  • Principles of TDD
  • Unit Tests with Junit and Acceptance Tests with Fit/Fitnesse
  • Using Mocks for unit testing
  • Refactoring
  • Automating Fit/FitNesse tests

 

  | PostTagIcon Tags: Embedded Services, Service
Search
MicroDoc Blog
  • Eclipse DemoCamp 2011
  • EclipseCon Europe 2011 Resümee
  • EclipseCon Europe 2011
  • MicroDoc @ München Marathon Zieleinlauf
  • Eclipse Stammtisch 2011 - Fazit
more
Upcoming events
  • No upcoming events available
Add to iCalendar
more

(c) MicroDoc GmbH 2011