|
All checks were successful
CMake / build (push) Successful in 47s
- Add `-V` flag to `ctest` in CMake workflow for detailed test output - Refactor `passwdgen_test.cpp` to use manual assertions and expand test cases for better coverage - Remove redundant `test_passwdgen.cpp` file with similar but outdated test implementations |
||
|---|---|---|
| .gitea/workflows | ||
| include | ||
| src | ||
| tests | ||
| .gitignore | ||
| CMakeLists.txt | ||
| README.md | ||
passwdgen
a rudimentary random string password generator
For demo purposes only
Build
Bare Bones
mkdir build
g++ -o build/passwdgen ./passwdgen.cpp
From CMAKE
mkdir build
cd build
cmake ..
make
Then, just copy the compiled binary to somewhere on your $PATH
Testing
To run the tests:
mkdir build
cd build
cmake ..
make
ctest
or directly:
./tests/passwdgen_test