Unit tests
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 1.6k
- Forks
- 211
- Avg merge
- 4d 21h
- Merged PRs (30d)
- 6
Description
I had a quick look at the code base and tried to find some unit tests for the biggest part of the used language (shell/bash).
I could not find any, so I'm wondering whether you have any?
Also looked at the CI script, but it just seems to build a whole lot of stuff.
If not, I'd suggest to add some, even starting with only some basic tests. For a security-relevant product at least some basic things may be tested.
To do this, I personally had a good experience with https://github.com/kward/shunit2/.
Maybe this would be a good idea?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the existing shell/bash code and the CI script, which the issue says currently builds many components but does not identify by file. Determine whether unit tests already exist and evaluate shunit2 as a possible framework. Done would mean adding an agreed-upon set of basic tests and integrating their execution into CI.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, shell
- Domain
- security, testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100