Junior — Middle
Have you ever implemented automated tools or processes for a team at your previous job?
sobes.tech AI
Answer from AI
Yes, at my previous job I implemented automated tools for building and testing C++ projects. For example, I set up a build system using CMake and integrated it with a CI/CD pipeline on Jenkins. This allowed for automatic building and running of unit tests with each commit, significantly speeding up error detection and improving code quality.
An example of automation using CMake and Google Test:
cmake_minimum_required(VERSION 3.10)
project(MyProject)
enable_testing()
add_executable(my_tests test_main.cpp)
find_package(GTest REQUIRED)
target_link_libraries(my_tests GTest::gtest_main)
add_test(NAME MyTests COMMAND my_tests)
This approach enables automatic test execution and integration into the build process.