Skip to content
#

mock-server

Here are 469 public repositories matching this topic...

MockServer enables easy mocking of any system you integrate with via HTTP or HTTPS with clients written in Java, JavaScript and Ruby. MockServer also includes a proxy that introspects all proxied traffic including encrypted SSL traffic and supports Port Forwarding, Web Proxying (i.e. HTTP proxy), HTTPS Tunneling Proxying (using HTTP CONNECT) and SOCKS Proxying (i.e. dynamic port forwarding).

  • Updated Oct 17, 2021
  • Java
rohanKanojia
rohanKanojia commented Jul 27, 2021

Right now ErrorMessageTest.testCustomMessage is written in a strange way.

  • Instead of using assertThrows we're catching an exception.
  • There is a custom fail() method that does nothing.
  • We're not asserting anything, see sonar smell here[0]

https://github.com/fabric8io/kubernetes-client/blob/d1740ffeaa624bd63b6d929b25d764a477c1c17e/kubernetes-tests/src/test/java/io/fabric8/kubernete

Improve this page

Add a description, image, and links to the mock-server topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mock-server topic, visit your repo's landing page and select "manage topics."

Learn more