1 -----------------------------------------------------------------------------
2 # Solgenomics Test Suite
3 -----------------------------------------------------------------------------
5 This is the SGN test suite, which helps us verify that code is working as it should.
7 To launch tests: perl t/test_fixture.pl t/selenium2
11 -----------------------------------------------------------------------------
13 -----------------------------------------------------------------------------
17 Unit tests in the Bio::SecreTary::* namespace. These tests do not require a database to run.
21 Unit tests in the CXGN::* namespace. These tests do not require a database to run.
23 ## t/unit_fixture/CXGN
25 Unit fixture tests in the CXGN::* namespace. These test run against the fixture database.
29 Integration tests, which use selenium2 to launch a web browser.
33 Tests which run tests against live websites.
37 Tests related to POD documentation.
41 -----------------------------------------------------------------------------
43 -----------------------------------------------------------------------------
47 Used to launch a test server and to load the fixture database. Also useful for testing entire directories at once.
51 Contains test data, such as test GFF3 files or test images. Used by the rest of the test suite.
55 Libraries written for and to be used by the test suite, such as SGN::Test::Data.
59 -----------------------------------------------------------------------------
61 -----------------------------------------------------------------------------
65 Tests in the SGN::* namespace
69 Tests in the CXGN::* namespace
71 ## t/legacy/integration/
73 This directory contains integration tests, which test how multiple peices of code interact,
74 as opposed to unit tests, which usually test a small piece of code in isolation.
78 Validation tests, which run "html lint" tests to make sure our HTML validates, which is important
79 for making the website render properly and quickly in many browsers.