Add Testing Infrastructure
See original GitHub issueWhile it is easy to add a new site to scan, it is really hard to know if it is actually supported properly. Especially for the sites that do not have an explicit error code. For these sites, Sherlock relies on knowing the exact text of the informational page that the social media site presents. Which, even if it works today, could very well break tomorrow.
I am thinking that there would be a tests
directory that would contain Python code that would run various tests. The main input to these tests would be a curated list of user names that are supported at a given social media site, and another list of user names that are not.
- For Each Social Media Site A List Of User Names Supported Curated list of user names known to be supported.
- For Each Social Media Site A List Of User Names Not Supported Curated list of user names known to not be supported.
- Python Module That Runs Through List And Compares Results To Expected This would be the code that would run after changes have been made to the module. And, it would be run before a release was made.
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (11 by maintainers)
Top Results From Across the Web
Testing Infrastructure with Test Kitchen and Chef
Learn how to test infrastructure with Test Kitchen, Chef, ... First, I'll write the test that describes a basic feature I want to...
Read more >Infrastructure Testing for Beginners: Adding Tests with InSpec
This is where InSpec comes in: InSpec lets us test the actual end state of our servers. Setup. We'll be using the same...
Read more >LLVM Testing Infrastructure Guide - Documentation
This document is the reference manual for the LLVM testing infrastructure. ... infrastructure, the tools needed to use it, and how to add...
Read more >How we added backend integration testing to our CI pipeline
Four stages to adding integrating testing · Stage one: Audit existing end-to-end tests · Stage two: Build the backend integration testing ...
Read more >Add testing infrastructure #21 - mozilla-services/reaper - GitHub
Hashicorp code is probably a good resource for how to test the AWS SDK components of the program. It may additionally be prudent...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Added some basic testing infrastructure with #127. I did this change without any of the restructuring that we have talked about… I am not sure exactly where that is at, and I wanted to get these tests out there so they could help people.
One thing that I do not like about the current way that the tests run is that the working directory gets littered with result files from all of the tests. I was going to change the main routine around so that the result file was optional, but I did not want to add churn before the restructuring is done.
With #169, that puts the test coverage at 100%!
Issues that exist with tests at the current time:
But, this is a good first pass. Any restructuring that we do in the future will have a complete test of site connections available.
There can be other issues added in the future to add more sophisticated options to the testing, but I think that this issue can be closed now.