19 Star 25 Fork 21

xhyspring / qing-automation

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

FitNesse Build Status

欢迎来到qing-automation,这是一个自动化测试框架项目,项目详细介绍 书:测之重器-自动化测试框架搭建指南(https://book.douban.com/subject/26866743/) 教学视频:自动化测试框架搭建指南(http://edu.51cto.com/course/course_id-3386.html)

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

Check out the FitNesse Story Backlog and Issue Tracking on Pivotal Tracker.

Building

The build.xml 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 or to unclebob.

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.

    • In IntelliJ set IvyIDEA in "Project Structure" -> "Modules" -> "Dependencies".
    • In Eclipse, install IvyDE and set it up.

    Alternatively,

    $ ant retrieve

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

空文件

简介

基于fitnesse的自动化测试框架 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/xhyspring/qing-automation.git
git@gitee.com:xhyspring/qing-automation.git
xhyspring
qing-automation
qing-automation
master

搜索帮助