Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of Unit Tests #16

Open
the-siegfried opened this issue Mar 27, 2022 · 0 comments
Open

Implementation of Unit Tests #16

the-siegfried opened this issue Mar 27, 2022 · 0 comments

Comments

@the-siegfried
Copy link
Contributor

Is your feature request related to a problem? Please describe:
Currently the project does not have any unit tests. The implementation of these tests include but are not limited to the following benefits:

  • Ensures that any future development does not introduce any breaking changes.
  • Enables developers and testers to save time when trying to identify bugs.
  • Ensures high quality product development.

Describe the solution you'd like:
Implementation of a test-suite within the modules library (/modules/tests), testing each of the modules and methods in isolation. And the implementation of a functional test suite at the application layer (TorCrawl.py/tests) in order to test all the possible user workflows of the application to ensure the conformity of the project with its requirements.

Some test frameworks that would be suitable for this use-case are; unittest, pytest, or clever-sheep (possibly overkill).

the-siegfried added a commit to the-siegfried/TorCrawl.py that referenced this issue Jul 3, 2022
- Adds tests folder under 'modules'.
- Creates test files for modules.
- Implements checker passing test cases.

See Issue: MikeMeliz#16
the-siegfried added a commit to the-siegfried/TorCrawl.py that referenced this issue Jul 3, 2022
- Implements passing test case for crawler.canonical.
- Implements passing test case for crawler.excludes.

- TODO: Implement tests for crawler.crawl against live application.
- TODO: Implement tests for extractor against live application.

See Issue: MikeMeliz#16
the-siegfried added a commit to the-siegfried/TorCrawl.py that referenced this issue Jul 3, 2022
- Resolves import errors.

See Issue: MikeMeliz#16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants