简体   繁体   中英

How can I write a fitnesse for a HTML output in Test Driven Development?

I have developed an application which produces a HTML output. The HTML output actually contains reports. It has got a few tables. Now I want to write fitnesse for this HTML output. I want to check whether the data in the tables of that HTML are correct or not.

FitNesse is just a test environment, you have to create the connection to your system to actually define how/what to test.

Based on you description I expect you want to test using a browser to see that the generated HTML gives the user the functionality they need. Is that correct?

For those kind of tests Selenium is the most used tool. Multiple plugins/fixtures are available to use Selenium from a FitNesse page (see http://fitnesse.org/PlugIns ). Of course I would recommend my own fixtures to achieve this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM