Commits

Jonas Granquist committed ba2eb5f

Added dummy FitNesse test

Comments (0)

Files changed (5)

FitNesseRoot/FrontPage/content.txt

 !1 Welcome to [[FitNesse][FitNesse.FitNesse]]!
 !3 ''The fully integrated stand-alone acceptance testing framework and wiki.''
 
-# Here is a good place to add your first page (WikiWord). For example, MyTopLevelApplicationPage
-To add your first "page", click the [[Edit][FrontPage?edit]] button and add a [[!-WikiWord-!][FitNesse.UserGuide.WikiWord]] to the page.
-
-| '''To Learn More...'''|
-| [[A One-Minute Description][FitNesse.UserGuide.OneMinuteDescription]]|''What is [[FitNesse][FitNesse.FitNesse]]? Start here.''|
-| [[A Two-Minute Example][FitNesse.UserGuide.TwoMinuteExample]]|''A brief example. Read this one next.''|
-| [[User Guide][FitNesse.UserGuide]]|''Answer the rest of your questions here.''|
-| [[Acceptance Tests][FitNesse.SuiteAcceptanceTests]]|''FitNesse's suite of Acceptance Tests''|
+PyFitNesseTests
 
 !note Release v20101101

FitNesseRoot/FrontPage/properties.xml

-<?xml version="1.0"?>
-<properties>
-	<Edit/>
-	<Files/>
-	<Help/>
-	<Properties/>
-	<Prune/>
-	<RecentChanges/>
-	<Search/>
-	<Suites/>
-	<Versions/>
-	<WhereUsed/>
-</properties>
+<?xml version="1.0"?>
+<properties>
+	<Edit/>
+	<Files/>
+	<Help/>
+	<Properties/>
+	<Prune/>
+	<RecentChanges/>
+	<Search/>
+	<Suites/>
+	<Versions/>
+	<WhereUsed/>
+</properties>

FitNesseRoot/PyFitNesseTests/content.txt

+!contents -R2 -g -p -f -h
+
+|import|
+|hello_world|
+
+|Wallet|
+|add|amount?|
+|0  |0      |
+|100|100    |
+
+!define TEST_SYSTEM {slim}
+!define COMMAND_PATTERN {c:\Program Files (x86)\Python27\python.exe -m waferslim.server --syspath %p}

FitNesseRoot/PyFitNesseTests/properties.xml

+<?xml version="1.0"?>
+<properties>
+	<Edit/>
+	<Files/>
+	<Help/>
+	<Properties/>
+	<RecentChanges/>
+	<Refactor/>
+	<Search/>
+	<Suites/>
+	<Test/>
+	<Versions/>
+	<WhereUsed/>
+</properties>
+from waferslim.converters import convert_arg
+class Wallet:
+
+    @convert_arg(to_type=int)
+    def set_add(self, amount):
+        self.__amount = amount
+
+    def amount(self):
+        return self.__amount