aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Expand)Author
2018-04-13Fix logging in tests...* Use the LOG_LEVEL provided by the application settings to enable easy control of logging when running tests. It helps avoid a lot of verbosity when running tests. Muriithi Frederick Muriuki
2018-04-13Use single entry-point for tests...* Remove the run-integration-tests.py, and use the test-website.py as the entry point for all tests. This simplifies running the tests for the site. Muriithi Frederick Muriuki
2018-04-05Merge branch 'testing' of https://github.com/genenetwork/genenetwork2 into te...Muriithi Frederick Muriuki
2018-04-02Testing moved to PythonPjotr Prins
2018-03-31Merge branch 'testing' of https://github.com/genenetwork/genenetwork2 into te......* Fix conflicts Muriithi Frederick Muriuki
2018-03-30Testing: removed test assertion (oops)Pjotr Prins
2018-03-30Add --fail argument to test runnerPjotr Prins
2018-03-30Tests: all tests runPjotr Prins
2018-03-26Initialise mapping tests...* Add mapping tests, and build the first of the tests. Muriithi Frederick Muriuki
2018-03-26Move import to the top of the page....* Mainly to tell the dependencies easily. Muriithi Frederick Muriuki
2018-03-26Add tests for main web functionalityMuriithi Frederick Muriuki
2018-03-26Add tests to check links.Muriithi Frederick Muriuki
2018-03-26Add link_checker module...* Add the module that will hold the code to test the links on the system. Muriithi Frederick Muriuki
2018-03-26Use argparse to handle arguments...* Use argparse to handle commandline arguments. * Create initial layout of how the code might end up - lots of the code is currently commented out. Muriithi Frederick Muriuki
2018-03-26Add tests to check that the UI is setup correctly...* Check that the links for OAuth2 logins via ORCID and GitHub are setup correctly. Muriithi Frederick Muriuki
2018-03-26Add new tests for orcid loginsMuriithi Frederick Muriuki
2018-03-26Add new test for github loginsMuriithi Frederick Muriuki
2018-03-26Remove failing code...* With the parameterized module, the testcase cannot be run independently at this time. Muriithi Frederick Muriuki
2018-03-26Simplify test. Check for content, rather than url...* The test functions were very similar, so this commit refactors out the common test code to a single method, and passes in the data to the test using the parameterized package. * Check that the page content after a login attempt is the expected content, rather than checking the url. Muriithi Frederick Muriuki
2018-03-26Add more login tests.Muriithi Frederick Muriuki
2018-03-26Add a runner for all integration tests.Muriithi Frederick Muriuki
2018-03-26Add test for local login...* Add an integration test to test that the login process for users registered locally to genenetwork2 works as expected. Muriithi Frederick Muriuki
2018-03-26Create parametrized superclass for tests...* Since the tests require that some parameters be provided while running the tests, create a class that helps abstract away the details of retrieving and setting the expected parameters. Muriithi Frederick Muriuki
2018-03-26Rename file and move common code...* Rename the file to make it an importable module * Refactor the test to move common code out to a super class. Muriithi Frederick Muriuki
2018-03-26Add registration test...* Add integration test to check the registration process. Muriithi Frederick Muriuki
2018-03-26Requests addedPjotr Prins
2018-03-26Added unittest examplePjotr Prins
2018-03-21Deactivate navigation tests...* Navigation depends on Javascript to render the elements being tested. That would require selenium and its ilk to run such tests, meaning such packages would need to be defined for Guix first. Muriithi Frederick Muriuki
2018-03-19Initialise navigation tests....* Start working on navigation tests. Muriithi Frederick Muriuki
2018-03-19* Add mapping tests. Fix link-checker tests....* Add tests for the R/qtl and CIM mapping tools. * Fix tests for in-page links. Muriithi Frederick Muriuki
2018-03-18Initialise mapping tests...* Add mapping tests, and build the first of the tests. Muriithi Frederick Muriuki
2018-03-18Move import to the top of the page....* Mainly to tell the dependencies easily. Muriithi Frederick Muriuki
2018-03-14Add tests for main web functionalityMuriithi Frederick Muriuki
2018-03-12Add tests to check links.Muriithi Frederick Muriuki
2018-03-09Add link_checker module...* Add the module that will hold the code to test the links on the system. Muriithi Frederick Muriuki
2018-03-09Use argparse to handle arguments...* Use argparse to handle commandline arguments. * Create initial layout of how the code might end up - lots of the code is currently commented out. Muriithi Frederick Muriuki
2018-02-23Add tests to check that the UI is setup correctly...* Check that the links for OAuth2 logins via ORCID and GitHub are setup correctly. Muriithi Frederick Muriuki
2018-02-23Add new tests for orcid loginsMuriithi Frederick Muriuki
2018-02-23Add new test for github loginsMuriithi Frederick Muriuki
2018-02-23Remove failing code...* With the parameterized module, the testcase cannot be run independently at this time. Muriithi Frederick Muriuki
2018-02-21Simplify test. Check for content, rather than url...* The test functions were very similar, so this commit refactors out the common test code to a single method, and passes in the data to the test using the parameterized package. * Check that the page content after a login attempt is the expected content, rather than checking the url. Muriithi Frederick Muriuki
2018-02-19Add more login tests.Muriithi Frederick Muriuki
2018-02-19Add a runner for all integration tests.Muriithi Frederick Muriuki
2018-02-19Add test for local login...* Add an integration test to test that the login process for users registered locally to genenetwork2 works as expected. Muriithi Frederick Muriuki
2018-02-19Create parametrized superclass for tests...* Since the tests require that some parameters be provided while running the tests, create a class that helps abstract away the details of retrieving and setting the expected parameters. Muriithi Frederick Muriuki
2018-02-19Rename file and move common code...* Rename the file to make it an importable module * Refactor the test to move common code out to a super class. Muriithi Frederick Muriuki
2018-02-16Add registration test...* Add integration test to check the registration process. Muriithi Frederick Muriuki
2018-02-15Requests addedPjotr Prins
2018-02-15Added unittest examplePjotr Prins
2017-05-21Merge from the diet branch.... * refactored ./bin/genenetwork2 and /etc/default_settings - better detection of Guix - removed unused parameters, such as GEMMA_RESULT_PATH and TEMP_TRAITS - removing some default settings, such as PYLMM_COMMAND - rename some settings, such as SQL_URI and LOG_SQL_ALCHEMY - added GUIX_JS_PATH for JS modules * Added documentation on installing binary GN2 * Updated Twitter board to latest version in Guix - it had broken * Updated many tools in the latest Guix profile Pjotr Prins