Skip to content

Testing

Cisco edited this page Sep 24, 2025 · 1 revision

We will strive to make different tests to prevent regressions while shipping new features. This part of the project is not meant to be evaluated. Therefore, we will use a more recent standard (c++20) and give a try at new features such as :

  • lambdas
  • introspection with type traits (ex: printing the name of an exception being thrown)

Once implemented, each person implementing a new feature or a fix should be also responsible for the tests.

  • unit tests to check the output of a function, for normal and edge cases.
  • integration test, based on a basic client, to check that a command or series or command produces the expected output from the server.

Assertions

  • AssertUtils contains utility functions to perform basic checks

Clone this wiki locally