Flurl: Error using HttpTest with MSTest

I’m trying to use Flurl.Http.Testing.HttpTest for some unit tests. Any time I try to run these tests I get the follow error: An exception occurred while invoking executor 'executor://mstestadapter/v1': Type 'Flurl.Http.Testing.HttpTest' in assembly 'Flurl.Http, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.

Any suggestions?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 2
  • Comments: 16 (9 by maintainers)

Commits related to this issue

Most upvoted comments

I have same issue with Nunit System.Runtime.Serialization.SerializationException : Type 'Flurl.Http.Testing.HttpTest' in assembly 'Flurl.Http, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.