Tag:gomock

  • Examples of methods for unit testing using Gomock

    Time:2019-3-21

    In the development process, unit testing is often needed, but many times, unit testing needs to rely on some more complex preparatory work, such as the need to rely on the database environment, the need to rely on the network environment, unit testing has become a very troublesome thing. For example, we need to request […]

  • Examples of mock testing with gomock

    Time:2019-3-19

    In the development process, unit testing is often needed, but many times, unit testing needs to rely on some more complex preparatory work, such as the need to rely on the database environment, the need to rely on the network environment, unit testing has become a very troublesome thing. For example, we need to request […]