You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NoahLan 9687b7b2bf first commit. 1 week ago
..
README.md first commit. 1 week ago
mock_connection.go first commit. 1 week ago
test_helpers.go first commit. 1 week ago

README.md

Test Utilities

This package provides test utilities and mock objects for testing nnet.

Mock Objects

  • MockConnection: Mock connection interface
  • MockServer: Mock server interface
  • MockRouter: Mock router interface

Test Helpers

  • NewTestServer(): Create a test server
  • NewTestClient(): Create a test client
  • NewTestContext(): Create a test context