Pregunta

Hola Tengo un proyecto de prueba con Gallio 3.2 B.435 dentro de VisualStudio 2010. Cada vez que inicialo cualquier prueba, las ventanas de salida salen.

Este es el mensaje de error

[error] An exception was thrown while exploring tests.
Location: C:\xxxxxxx(73)
Details: System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)

Este es el código en la línea especificada

71: [Test, ExpectedException(typeof(RulesException<Story>))]
72: public void CanNotSaveItemIfInvalid()
73: {
74:     var story= new Story{ Id = 100, Tilte= "test" };
75:      repository.Save(story, new MembershipUser());
76: }

Este error no se meta un METTER, ¿qué prueba está bajo prueba (el proyecto contiene 700 pruebas) Por supuesto;) la prueba compila y pasa y no puedo entender el error.

bye stefano

¿Fue útil?

Solución

This error is a known issue. It's due to a bug in the early version of Mono.Cecil (v0.6) that was used by the Gallio core engine. It has been fixed recently: Gallio is now using Mono.Cecil v0.9.

Please try out the latest version of Gallio (v3.2.2)

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top