Giter VIP home page Giter VIP logo

fitsharp's People

Contributors

auguronomics avatar ben-biddington avatar brettveenstra avatar dependabot[bot] avatar diof avatar jediwhale avatar kimgr avatar linquize avatar mikestockdale avatar ob4 avatar sqeezy avatar tewr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fitsharp's Issues

use generic parameter type not tree<t>

reduce primitive obsession, better encapsulation of parameter formats, etc. probably need to be backwards compatible with existing operator signatures.

Test runner doesn't show progress

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.

fitsharp and Java Slim table processing discrepancy

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)

additional defaults

if missing method, look for fixture
if first is procedure, autowrap page in do

make tree serializable

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.

TestRunner output no longer works with FitNesse Java formatters.

from mailing list:

I used to be able to do somethat would take the xml and write out a nice report like this

  1. Run the testreunner. exe with a format of -xml
  2. run fitnesse with a formattingoption to transform from xml to html.

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?

merge symbols and named objects

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

slim support for hashwidgets

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

abort slim exception

fitnesse group: "I think the Exception message should be: EXCEPTION:ABORT_SLIM."

Issue with ComposeException.WasAborted

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:");

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.