fitnesse

Fitnesse Slim: How to concatenate symbol

不羁的心 提交于 2019-12-10 18:22:17
问题 How would one concatenate a symbol with text on either side? For example: Prefix: "GAR_" Variable: $todayDate Suffix: "_1" GAR_$todayDate_1 Which would evaluate to: GAR_07202012_1 When running the test in fitnesse, it seems as though the concatenation is working ( GAR_$todayDate->[07202012]_1 ). However, I am passing this value as a parameter to visual studio and I instead end up with the following text: GAR_$todayDate_1 . When I remove the suffix or put a space between $todayDate and "_1" ,

Fitnesse vs any other subsystem testing tool [closed]

南楼画角 提交于 2019-12-10 15:16:15
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . We are currently using Fitness for subsystem testing. we are having lot of issues using the tool, few to mention Development time for writing Fixture is more then writing the actual code Issues around check in of the dlls so that Qa can test them Issues in running Fitnesse for project which uses NHibernate limited

Delphi: TTcpServer, connection reset when reading

有些话、适合烂在心里 提交于 2019-12-10 00:12:40
问题 I'm trying to implement a Fitnesse Slim server for delphi, but have some problems with the communication. Fitnesse will start my process, and give me a portnumber as a commandline argument. Then I'm supposed to create a socket at the given portnumber, and Fitnesse will connect to that port. I'm using a TTcpServer for the job: TcpServer1.LocalPort := ParamStr(ParamCount); TcpServer1.Active := true; In the OnAccepted( )-event, I send the protocol version to use, as specified in the spec.

Formatting data in a Fitnesse RowFixture

为君一笑 提交于 2019-12-08 17:24:48
问题 I've got a Fitnesse RowFixture that returns a list of business objects. The object has a field which is a float representing a percentage between 0 and 1. The consumer of the business object will be a web page or report that comes from a designer, so the formatting of the percentage will be up to the designer rather than the business object. It would be nicer if the page could emulate the designer when converting the number to a percentage, i.e. instead of displaying 0.5, it should display 50

Fitnesse automatic generate fixture class

房东的猫 提交于 2019-12-08 12:41:21
问题 I'm evaluating the Fitnesse as an acceptance test tool. Is there any way to automatically generate fixture class from fitness test pages? 回答1: No. In the fitness test pages you define the input data and the expected results but you have to write your fixture classes by your self or if you are lucky you may find something similar with what you need in the internet (for example you could find some oracle fixture and then you don't have to write that). 来源: https://stackoverflow.com/questions

how do i pass program arguments in java for my Fitnesse Fixture?

自闭症网瘾萝莉.ら 提交于 2019-12-08 05:42:28
问题 I have a fixture that needs some System arguments to be passed into it.How can i do the same. ie java MyClass -Darg1=x -Darg2=y how do i pass the -Darg values into my test. @Dan. My Bad that I mentioned command line arguments.What I really intend to do is pass System properties as you pointed out.I have some settings like Region(NA/EMEA etc),Environment(SIT/UAT) etc based on which various urls etc differ.I have to compose tests in Fitnesse where I pass the values for the test screen from my

How to call a WCF service from FitNesse

半腔热情 提交于 2019-12-08 02:03:54
问题 When calling a WCF service from a console app, asp.net app, wpf/winform app, you have to have a app.config or web.config file for the WCF service endpoint information. But from FitNesse, I'm calling a fixture which is a .dll (class library) and this fixture is calling my WCF service. It can't call the service because I can't include the endpoint information that it needs - because DLLs can't have app.config files. Any ideas on how to call a WCF service from FitNesse. 回答1: Anything you can do

How to include all ancestral SetUp pages in FitNesse subwikis?

自闭症网瘾萝莉.ら 提交于 2019-12-07 05:01:04
问题 I have a SetUp page at the root level which works fine. However, when I add a subwiki in FitNesse and I want to put a SetUp page at the level of the subwiki. This gets included but then the root level SetUp doesn't. For example, with the following structure: Foo suite SetUp TestPage Bar suite SetUp NestedTestPage How do I get FitNesse to include both SetUp pages in NestedTestPage? 回答1: There is only one way I know of that you could do this. If you included the parent manually into the child.

How to call a WCF service from FitNesse

☆樱花仙子☆ 提交于 2019-12-06 13:24:07
When calling a WCF service from a console app, asp.net app, wpf/winform app, you have to have a app.config or web.config file for the WCF service endpoint information. But from FitNesse, I'm calling a fixture which is a .dll (class library) and this fixture is calling my WCF service. It can't call the service because I can't include the endpoint information that it needs - because DLLs can't have app.config files. Any ideas on how to call a WCF service from FitNesse. Anything you can do with a config in WCF can also be done programmatically. Could you create the endpoints in code and then

where I can get some tutorials on Java FitNesse and Slim? [closed]

天涯浪子 提交于 2019-12-06 11:56:39
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I am studying TDD using FitNesse and I am looking some tutorials and examples. I would like to know where to find a good material. 回答1