Commit Graph

52 Commits

Author SHA1 Message Date
nour 45494fc74b bug: fix local variable scoping issue in test validate targets 2025-10-10 06:29:55 +03:00
Paul Pfeister ae362b0f02
ci: automatically validate modified targets on pr 2025-09-20 14:44:19 -04:00
Paul Pfeister 435540606e
chore: add typedef 2025-09-20 13:49:29 -04:00
Paul Pfeister 35940e7584
fix: ignore exclusions list on parameterization for false positive tests 2025-09-17 13:44:02 -04:00
Paul Pfeister e02507e5a1
test: set upper bound on f+ fuzz 2025-09-15 20:31:26 -04:00
Paul Pfeister ad76b3685f
chore: simplify test names 2025-09-14 01:39:37 -04:00
Paul Pfeister 34cb23bc6e
test: itemize f+/f- 2025-09-14 01:36:21 -04:00
Paul Pfeister dfe8b1599d
test: prepare false negative detection base 2025-09-14 00:57:55 -04:00
Paul Pfeister ca094d8264
test: prepare false positive detection base 2025-09-14 00:39:35 -04:00
Paul Pfeister 06b062c122
Update test to use still-present target 2024-11-04 20:49:22 -05:00
Paul Pfeister 8f5d601758
Merge pull request #2267 from sherlock-project/2266-deprecate-support-for-python-38
Deprecate Python 3.8
2024-11-04 20:33:42 -05:00
Paul Pfeister 3f1f2534a3
Update tests/sherlock_interactives.py 2024-11-01 04:29:23 -04:00
anuja b7406919dc commiting to correct function call 2024-10-11 07:53:59 +05:30
Paul Pfeister c6c1f3eef7
Deprecate Python 3.8
Python 3.8 is nearing EOL, and it's being deprecated here to allow for
more ready dependency resolution between pandas and numpy, avoiding a
fatal import. Resolves #2266.
2024-08-23 01:15:47 -04:00
Paul Pfeister 18367353df
Merge branch 'bump-version' into release/0.15.0-rc2 2024-07-08 04:45:14 -04:00
Paul Pfeister 33db232493
Switch to tagged update checks 2024-06-30 21:01:42 -04:00
Paul Pfeister 267e5a6979
Adjust ci paths 2024-06-24 17:04:50 -04:00
Paul Pfeister ca781a3c3b
Rename importable module 2024-06-24 16:40:03 -04:00
Paul Pfeister d3998faf59
Try devRant 2024-06-24 15:20:14 -04:00
Siddharth Dushantha a774a639d4 removed Pentestit + fixed tests 2024-06-24 12:27:06 +02:00
Paul Pfeister 67258b58a4
Adapt for online testing
When using tox, pass `-e offline` to exclude online tests.
When using pytest, pass `-m "not online"` to do the same.
2024-05-31 14:46:47 -04:00
Paul Pfeister e5736d3888
Fix platform dependant issues 2024-05-31 14:46:47 -04:00
Paul Pfeister 4aaf0583c5
Fix platform differences 2024-05-31 14:46:47 -04:00
Paul Pfeister e32a84ea05
Fix tox caught errors 2024-05-31 14:46:46 -04:00
Paul Pfeister 030860c0a1
Cleanup 2024-05-31 14:46:46 -04:00
Paul Pfeister 2b24cca340
Add tests 2024-05-31 14:46:46 -04:00
Paul Pfeister 9f75d5ed14
Fix newline 2024-05-31 14:46:46 -04:00
Paul Pfeister a785a5931f
Adopt tox and pytest 2024-05-31 14:46:46 -04:00
Paul Pfeister ba2eef7b0e
Revert "Remove tor"
This reverts commit 606743b99d.
2024-05-18 02:41:25 -04:00
Paul Pfeister 606743b99d
Remove tor 2024-05-18 01:29:11 -04:00
Paul Pfeister de8ebb1577 Relocate unit tests 2024-05-15 23:53:37 -04:00
Christopher K. Hoadley d17268e737 Move content into sherlock sub-directory inside of repo. This directory will look very much like what the packaged version of Sherlock will look like when it is installed in the site-packages area.
No real restructuring of the code has happened.  This just gives a view of the directory structure.
2019-10-26 22:42:03 -05:00
Christopher K. Hoadley b4a9562806 Update tests.all.SherlockDetectTests so it will only run tests against the detection methods.
This was the original intent for this class, but there was no test to ensure that the sites listed did not have their detection method changed.  Now, the test will fail if it does not really cover a given category.
2019-07-14 18:31:55 -05:00
Christopher K. Hoadley d3f0bfd0fc Add test to ensure that all sites have test data. If they do not, then the person running the tests will be able to see the list of sites missing coverage. 2019-02-09 23:34:09 -06:00
Christopher K. Hoadley dea8c29351 Change tests so that all sites that share a common username are executed in parallel. Just the little bit of extra processing halves the time taken for the tests (~15s verus ~34s). This will only get worse as the test coverage improves... 2019-02-03 11:14:45 -06:00
Christopher K. Hoadley bf0959d84b Convert all supported Response URL sites to use JSON driven tests. 2019-02-02 20:46:53 -06:00
Christopher K. Hoadley a576af358f Convert all supported HTTP Status Code sites to use JSON driven tests. 2019-02-02 20:40:16 -06:00
Christopher K. Hoadley be59b91107 Add information about a claimed and an unclaimed username to the site information. This will allow the tests to directly source the information from the JSON data. It will also allow people who add new sites to also add test data (which will automatically get tested). Add a new test method which finds all sites of a given detect algorithm, and which also has test vectors, and runs tests against them.
At the current time, the test vectors are optional.  But, once when there is finally complete coverage, then they will be required.  Anyone who adds a site without also adding test data will trigger a failure.
2019-02-02 20:32:06 -06:00
Christopher K. Hoadley 83aed9aeee Add test methods for Error Message detection method as well. Add Dribbble to tests. 2019-01-30 18:24:28 -06:00
Christopher K. Hoadley 6fc5c131db Convert Designspiration to use the Status Code detection method. The site gives a clean 404 error. Add to tests. 2019-01-30 18:15:42 -06:00
Christopher K. Hoadley 26ef2e1b9b Convert Codementor to use the Status Code detection method. The site gives a clean 404 error. Add to tests. 2019-01-30 18:10:06 -06:00
Christopher K. Hoadley 110b93a757 Convert Codecademy to use the Status Code detection method. The site gives a clean 404 error. Add to tests. 2019-01-30 18:07:29 -06:00
Christopher K. Hoadley 223d9716cb Convert BuzzFeed to use the Status Code detection method. The site gives a clean 404 error. Add to tests. 2019-01-30 18:04:24 -06:00
Christopher K. Hoadley 08ac008828 Convert Behance to use the Status Code detection method. The site gives a clean 404 error. Add to tests. 2019-01-30 17:58:14 -06:00
Christopher K. Hoadley 65e3820608 Convert Bandcamp to use the Status Code detection method. The site gives a clean 404 error. Add to tests. 2019-01-30 17:54:22 -06:00
Christopher K. Hoadley c76b4524da Convert BLIP.fm to use the Status Code detection method. The site gives a clean 404 error. Add to tests. 2019-01-30 17:51:46 -06:00
Christopher K. Hoadley 8a82d883c6 Convert AngelList to use the Status Code detection method. The site gives a clean 404 error. Add to tests. 2019-01-30 17:49:04 -06:00
Christopher K. Hoadley 89787b1509 Add test methods for HTTP Status detection method as well. 2019-01-30 17:45:36 -06:00
Christopher K. Hoadley f609320d3c Convert Canva to the more robust Response URL detection method. Add to tests to ensure that it is covered. 2019-01-30 17:25:05 -06:00
Christopher K. Hoadley b237b8fe02 Problems with false positives on EyeEm/CreativeMarket/EVE Online. Add these sites to the tests to capture failure. 2019-01-23 19:13:09 -06:00