jediwhale / fitsharp Goto Github PK
View Code? Open in Web Editor NEWFunctional testing tools for .NET
Home Page: http://fitsharp.github.io
License: Other
Functional testing tools for .NET
Home Page: http://fitsharp.github.io
License: Other
Functional testing tools for .NET --------------------------------- For documentation, see http://fitsharp.github.io All work derived from the original Fit, FitLibrary and DBFit projects is covered by the GNU General Public License. See GPLicense.txt. This includes the fit.dll and dbfit*.dll executables. All original work on this software is covered by the Common Public License. See CPLicense.txt. This includes all other executables.
here's what I was thinking about:
!|info.fitnesse.MemoryLinkRepository|
!|name|google|with|new|Link|Google|http://www.google.com|
!|name|yahoo|with|new|Link|Yahoo|http://www.yahoo.com|
!|save|"google"|
!|save|"yahoo"|
The Save method on MemoryLinkRepository accepts a Link object.
With fitnesse.net 1.8, I implemented a cell handler that works on "" and retrieves the named fixture - very similar to the way symbols work. This allowed me to play with domain services and objects without writing fixtures at all. With fitsharp this is no longer possible as cell operators don't have access to the fixture and named fixtures are stored as instance variables so I can't get them from a static way. This got me thinking that actually if you named something, the framework can easily figure out that the name in the cell matches an object that is a named fixture and is of correct type, so why not use that directly instead of working with cell operators. I think this is generic enough to be considered a framework feature and people won't likely name an object and then reuse the same name for a parse parameter later.
gojko
It would be useful, if some classes would be serializable. E.g. for remoting. I tried to make the fitlibrary tree serializable by just mark ListTree, ParseTree and Parse with attribute [Serializable]. This works great.
i meant the test wiould be in flow mode with SUT LoginUserFixture for a test named LoginUser
useful for dbfit tests where column names have underscores
multiple confusing namespaces currently in use - clean it up
fitnesse group: "It'd be great to be able to say
throw new AbandonStoryTestExc eption("Failed to launch the application. Aborting.");"
if missing method, look for fixture
if first is procedure, autowrap page in do
from mailing list:
I used to be able to do somethat would take the xml and write out a nice report like this
In the newest releases of fitnesse the formattingoption classes have either changed, don't work with the testrunner.exe format or something because when I transform the xml to html and try to open the report I get something like:
"Invalid String in Format".
Can someone explain to me how to get the latest version of fitnesse to write out nice html reports with the old (1.8) version of fitnesse .net? is it still possible? do i need to upgrade to the latest version of nslim?
After migrating to SLIM I found this feature does not work.
|Query:Legacy Report Search Test|MaxFileSize|500|
|Document Name |FileSize|
|DONOTDELETEME |<500|
Provide a way to disambiguate
reduce primitive obsession, better encapsulation of parameter formats, etc. probably need to be backwards compatible with existing operator signatures.
add suite teardown, document
When the abort exception code was added, there was a minor bug that was introduced. ComposeException.WasAborted currently reads:
return result.StartsWith("EXCEPTION:ABORT_SLIM_TEST:");
The "result" variable can be null however in certain cases so it should read:
return !string.IsNullOrEmpty(result) &&
result.StartsWith("EXCEPTION:ABORT_SLIM_TEST:");
show escaped, as raw html, in folded section
All you need to do is is convert any string argument that matches the HTML for a 2XN table into a map of some kind. See the FitNesse user guide regarding HashWidgets
slim, fit html, fit fitnesse
do a diff and point out difference
allow specification of multi-threaded or multi-process execution
|i call a method| that doesn't exist ... if the method missing error is i_call_a_method i can copy n' paste
fitnesse group: "I think the Exception message should be: EXCEPTION:ABORT_SLIM."
match on typeof(object). use result.gettype to pick real operator
e.g. exception[MyException]
I'm thinking there is something being interpreted as a Slim table (my ChildrenNames cell) in fitsharp--but it isn't treated that way in the Java slim. The test passes in Java but I
get an exception with fitsharp. My guess is it is expecting a length and getting the first name in my list.
===================== My test page (Java) ================
!|import|
|com.rhjensen.queryList|
!|Query: SimpleQueryList |
| Name | SpouseName | ChildrenNames |
| Eric | Karin | [Amanda, Erin, Grace] |
===================== My test page (fitsharp) ================
!|import|
| SlimBasics |
!|Query: SimpleQueryList |
| Name | SpouseName | ChildrenNames |
| Eric | Karin | [Amanda, Erin, Grace] |
====================== Java class =====================
public class SimpleQueryList {
public List query()
{
return
list(
list(
list("Name", "Eric"),
list("SpouseName", "Karin"),
list("ChildrenNames", "[Amanda, Erin, Grace]")
)
);
}
}
======================== C# class =====================
namespace SlimBasics
{
public class SimpleQueryList
{
public List Query()
{
List result = new List();
List<object> ericList = new List<object>();
List<object> ericName = new List<object>();
ericName.Add("Name");
ericName.Add("Eric");
List<object> ericSpouse = new List<object>();
ericSpouse.Add("SpouseName");
ericSpouse.Add("Karin");
List<object> ericChildren = new List<object>();
ericChildren.Add("ChildrenNames");
ericChildren.Add("[Amanda, Erin, Grace]");
ericList.Add(ericName);
ericList.Add(ericSpouse);
ericList.Add(ericChildren);
result.Add(ericList);
return result;
}
}
======================== fitsharp Exception =====================
EXCEPTION:System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at fitSharp.Slim.Service.Document.ReadList(String input)
at fitSharp.Slim.Service.Document.Read(String input)
at fitSharp.Slim.Service.Document.ReadList(String input)
at fitSharp.Slim.Service.Document.Read(String input)
at fitSharp.Slim.Service.Document.ReadList(String input)
at fitSharp.Slim.Service.Document.Read(String input)
at fitSharp.Slim.Service.Document.ReadList(String input)
at fitSharp.Slim.Service.Document.Read(String input)
at fitSharp.Slim.Service.Document.ReadList(String input)
at fitSharp.Slim.Service.Document.Read(String input)
at fitSharp.Slim.Service.Runner.ExecuteInstruction(String instruction)
at fitSharp.Slim.Service.Runner.Execute(String instruction)
Test runner doesn't show progress in fitnesse while test is running. FitServer of old fitnesse.Net has shown tables with results which were already processed.
@jediwhale I just found that fitsharp converts floats / Doubles incorrectly [1000001] expected [1.000001]
define test data using "TODAY", "TODAY+#", or "TODAY-#" to reflect relative dates
easy way to check if install is correct, assemblies reachable, etc.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.