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

Document of tests #48

Open
hsiaoyi0504 opened this issue Oct 12, 2017 · 1 comment
Open

Document of tests #48

hsiaoyi0504 opened this issue Oct 12, 2017 · 1 comment

Comments

@hsiaoyi0504
Copy link
Member

Just placed some document materials about testing. This will be add to readthedocs later.

To test whole repo-wide settings:
python manage.py test i5k.tests

To test single app, for example, to test blast app:
python manage.py test blast.tests

To test specific test case, for example, TestClickAll test case of blast app:
python manage.py test blast.tests.TestClickAll

@hsiaoyi0504
Copy link
Member Author

hsiaoyi0504 commented Oct 12, 2017

Lists of test cases:

  • Repo-wide (in i5k/tests.py):
    • CeleryTestCase: test if celery is running, including rabbitMQ and celerybeat
  • Blast app (in blast/tests.py):
    • ClickAllTestCase(FrontEndTestCase):
    • NucleotideSequenceSimpleTestCase(FrontEndTestCase)
    • PeptideSequenceComplexTestCase(FrontEndTestCase)
    • BlastAdminTestCase(LiveServerTestCase)
    • BlastBinaryTestCase(SimpleTestCase)
    • QueryTestCase(LiveServerTestCase)
  • hmmer app (in hmmer/tests.py)
    • HmmerBinaryTestCase(SimpleTestCase):
  • Clustal app (in clustal/tests.py
    • ClustalUploadFileTestCase(LiveServerTestCase)
    • ClustalBinaryTestCase(SimpleTestCase)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant