Perhaps something like the following:
``` bash
$ znc-testmod <module.cpp> <*moduletests.cpp>
```
Expecting the modules use gtest like ZNC, it would compile the module and the tests and run them together with ZNC linked to the module.
Perhaps also providing some form of API for the tests to ease loading the module configured globally, as network or as a user.
##
<bountysource-plugin>
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/7008334-provide-infrastructure-to-write-tests-for-a-module?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github).
</bountysource-plugin>
<!-- github-sync-id:51924865 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Perhaps something like the following:
Expecting the modules use gtest like ZNC, it would compile the module and the tests and run them together with ZNC linked to the module.
Perhaps also providing some form of API for the tests to ease loading the module configured globally, as network or as a user.
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/7008334-provide-infrastructure-to-write-tests-for-a-module?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github).Does existing integration tests (
make install && make test2) satisfy this?It tests several modules.