0xd34db33f / gfyp

Unification of dnstwist + SQLite + Email reporting. Set it as a cron job that runs every hour, give it a list of domains and email addresses for reporting, then watch it go find stuff.
66 stars 12 forks source link

feat: Unit tests #6

Open kristovatlas opened 7 years ago

kristovatlas commented 7 years ago

Some unit tests would be helpful. This is easiest with database-related stuff; network behavior is slower and thus less convenient to unit test.

0xd34db33f commented 7 years ago

Yeah definitely makes sense to add some good testing functionality to it. Thinking out loud really as I'm not sure where the testing segmentation lies between the wrapping code vs dnstwist code. If we end up testing the dnstwist functionality, wonder if it makes sense pushing something upstream and then modeling the additional tests we are building for GFYP based on that. I'll muse on it here.