简体   繁体   English

如何在Fitnesse中的测试页之间传递表中存储的数据

[英]How to pass data stored in table between test pages in fitnesse

In my fitnesse project i've got one table which stores authentication data to database. 在我的fitnesse项目中,我有一张表将身份验证数据存储到数据库。 I'm using it on each site. 我在每个站点上都使用它。 Is it possible to have one site with that table and allow all other test sites use data from it? 是否可以在该表中包含一个站点,并允许所有其他测试站点使用该表中的数据? how i can define global table with variables that i need? 如何定义需要变量的全局表?

You can define a procedure in your SuiteSetUp and re-use it on multiple pages. 您可以在SuiteSetUp中定义一个过程,然后在多个页面上重复使用该过程。 http://fitsharp.github.com/Fit/DefineFixture.html http://fitsharp.github.com/Fit/DefineFixture.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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