Skip to content

Unit tests

João Almeida edited this page Jan 2, 2023 · 3 revisions

Unit Tests for SecureFASTA

This repository contains unit tests for the main.py.

Running the Tests

To run the tests, use the following command:

$ cd src/
$ python unit_tests.py

The tests will automatically be run when you run the tool.

Test Coverage

The following methods are tested:

  • generate_random_password
  • encrypt_password
  • encrypt_secure_fasta
  • decrypt_secure_fasta
  • generate_checksum

Dependencies

The unit tests depend on the following packages: