getgauge/gauge-csharp

Regression - broken messages during gauge run

Closed this issue · 0 comments

tomzo commented

Since I upgraded from older gauge and csharp plugin the messages are no longer meaningful during gauge run. It worked fine previously in gauge v0.4.0 and gauge-csharp around 0.8.0 which I have built from sources.

Problem is that all steps are replaced by Sandbox <Full name of step-implementing class>.

Actual behavior

E.g. This is the output I see for all steps in all features described:

Gauge.CSharp.Runner.SandboxBuilder Creating a Sandbox in: /ide/work/gauge-bin/
# Entropy
  ## Get entropy    Sandbox FunctionalStcRandom.Entropy
 ✔Sandbox FunctionalStcRandom.Entropy
 ✔Sandbox FunctionalStcRandom.Entropy
 ✔Sandbox FunctionalStcRandom.Entropy
 ✔

Expected behavior

I would expect step text from markdown to be in each tick.

Gauge version

$ gauge --version
Gauge version: 0.6.1

Plugins
-------
csharp (0.9.2)
html-report (2.1.1)

I am on linux mono.

$ mono --version
Mono JIT compiler version 4.6.1 (Stable 4.6.1.3/abb06f1 Wed Sep 28 13:54:26 UTC 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS:           __thread
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  amd64
    Disabled:      none
    Misc:          softdebug 
    LLVM:          supported, not enabled.
    GC:            sgen

Possible cause

It looks like some ToString() disappeared?