Gps Mock for C# RRS feed

  • Question

  • I'm new in C#.How can I create a Gps Mock class or project for C# ? This class should give me a car's licence number, speed and location.I searched on Google but I can't find basic Gps Mock class.Thanks for your help

    Monday, March 12, 2018 2:19 PM

All replies

  • You replace a class for testing purposes with another class which guarantees deterministic behavior. Thus you don't start by looking for a mock. You implement you functionality first. Or your at least your interfaces.

    Here's a list of mocking frameworks.

    Monday, March 12, 2018 3:42 PM
  • Hi,

    Thank you for posting here.

    Based on my search, the .NET Framework does not seem to provide Gps mock class.

    Best Regards,


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, March 13, 2018 2:49 AM