Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Fitnesse test series-installation and environment configuration

2025-04-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Fitnesse installation

1. Download the installation package at fitnesse. Http://fitnesse.org/FitNesseDownload

The installation package was given to me by a colleague, and he also downloaded it from here, so I haven't fully verified the process. I will put my installation package in the attachment.

2. Decompress unzip fitnesse-1026.zip

3. I am a ubuntu system. Put the decompressed file package to sudo cp-r fitnesse-1026 / opt/ under opt.

4. Enter the fitnesse directory cd / opt/fitnesse-1026

5, sudo java-jar fitnesse.jar-p 1026 starts

Sudo java-jar fitnesse.jar-p 1026 & start the background operation

6. You can see the launch page of fitnesse by viewing http://localhost:1026 in the browser.

7. The file name in ubuntu is garbled .txt, which is renamed with mv *. Txt a.txt. Open the file with file = > in the browser to find the txt to open and view, and solve the problem of viewing garbled codes.

8. In github, https://github.com/Elneanor/RestFixtureLiveDoc looks at some examples of restfixture. I just learned today that the code in github can be downloaded as a zip file, and the button is on the lower right.

9, click the edit button on the left and enter "! contents-R2-g-p-f-h" to save.

10, create a new test page, click "add child" next to Front Page and enter "TestPage". After saving, you should see the link on this page and click to enter.

11. After entering the page, click edit, and we configure the environment path and do a simple test to verify it.

! define TEST_SYSTEM {slim} = = > choose slim. If you use fit, write fit here.

! path / opt/fitnesse-1026/RestFixture/dependencies/*

! path / opt/fitnesse-1026/RestFixture/smartrics-RestFixture-3.0.jar

! path / opt/fitnesse-1026/RestFixture/slf4j-api-1.6.6.jar = = these three directories must be included, or there will be an error in running.

# the following code test runs. This line is commented at the beginning of #. The part written with = > above cannot be used as a comment code by fitnesse. Please remove it from the actual operation.

# the following result indicates that the environment is configured successfully if the operation is successful.

| | Table:smartrics.rest.fitnesse.fixture.RestFixture | http://w3school.com.cn |

| | GET | / example/xmle/books.xml | | Content-Type:text/xml | / / title [text () = 'Harry Potter'] | |

The first step of 12jade fitnese has been successful, and there are more wonderful uses to follow. Enter to view http://localhost:1026/FitNesse.UserGuide.QuickReferenceGuide

13, due to the size limit here, please move to http://down.51cto.com/data/1479320 for download.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report