Skip to content
Snippets Groups Projects
Select Git revision
  • c2d836a9eba8de4a3e1ea3a42bb1253f0301b4c0
  • main default protected
  • dev protected
  • f-string-ids
  • f-empty
  • caosdb-cpplib-v0.2.2
  • caosdb-server-v0.9.0
  • caosdb-cpplib-v0.2.1
  • caosdb-cpplib-v0.2.0
  • caosdb-server-v0.8.0
  • caosdb-cpplib-v0.1.2
  • caosdb-server-v0.7.3
  • caosdb-cpplib-v0.1
  • caosdb-server-v0.7.2
14 results

caosdb-cppinttest

  • Clone with SSH
  • Clone with HTTPS
  • caosdb-cppinttest

    Integration tests for caosdb-cpplib and the caosdb-server

    Dependencies

    • clang-tidy
    • clang-format
    • include-what-you-use
    • cmake
    • conan

    Run tests

    Prerequisite

    Create a local conan package from the caosdb-cpplib repository

    Build & Execution

    1. mkdir build && cd build/
    2. conan install .. -s "compiler.libcxx=libstdc++11"
    3. cmake -B . ..
    4. cmake --build .
    5. Setup env vars
      • CAOSDB_SERVER_GRPC_PORT_HTTP
      • CAOSDB_SERVER_HOST
      • CAOSDB_SERVER_GRPC_PORT_HTTPS
      • CAOSDB_SERVER_CERT
    6. Run with ctest in the build directory.

    Formatting, style, linting

    make format