Open edestecd opened 7 years ago
I'm setting a reminder for myself in about two months. I hope I'll have time before that.
I think I should be able to start soon. Where should I start? I looked a bit in the spec folder but couldn't totally make sense of it.
@edestecd?
You need to add a new file: spec/classes/clamav_milter_spec.rb
Start out by copying clamav_spec.rb, then just modify to suit. You generally want a case with the defaults and then several cases where you set common parameters and assert what you expect.
Looks rather easy. I'll give it a shot some time soon. Thanks!
Hardest part may be to rebase, though 🙁
@edestecd I didn't have to rebase, good news. I did create the file, and added travis tests to my own repo, and it fails, but because of an unrelated reason. I know that it will probably fail on all OSs except RedHat and CentOS 7, but at least I would know if my tests work. I think I found how to define a specific OS for tests here. Does it make sense?
@edestecd?
@ubellavance when you get a chance let me know...