-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Writing backspace to Console crashes the mspec.resharper.runner #267
Comments
I probably need to XmlEncode a bunch of things because I use Xml to marshal between appdomains |
Or you could possibly clean invalid Xml characters by: static string CleanInvalidXmlChars(string text)
|
Wonder if this is related to https://github.com/machine/machine.specifications.runner.resharper/issues/12 (BTW should I report R#-runner bugs here?) |
The problem is the XmlSerialization over AppDomains
|
I have a program writing a backspace character to console and that causes the testrunner to crash with the message: "System.ArgumentException: hexadecimal value 0x08, is an invalid character."
Here is an example routine witch fails:
using System;
using Machine.Specifications;
namespace Test
{
[Subject("Console")]
public class when_writing_an_backspace_character_to_console
{
Establish context = () => { };
Because of = () => Console.Write("\b");
It should_not_give_an_exeption = () => { };
}
}
I use version 1.0.0 of Machine.Specifications.Runner.Resharper and Resharper 8.2.3.
The text was updated successfully, but these errors were encountered: