[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
Description
I've added automated testing of the upload using TripalTestSuite. Specifically, I've included a short example file with no difficult lines as a first test. For each line in the file, I check there exists
the phenotype record with the expected trait, project, stock, value combination.
property record for location, year, replicate and data collector
Testing?
[x] I tested on a generic Tripal Site
[x] I tested on a KnowPulse Clone
[x] This PR includes automated testing
To test you need to set up TripalTestSuite in your clone then just run ./vendor/bin/phpunit in the analyzedphenotypes directory and check the tests pass.
Metadata
Documentation:
Description
I've added automated testing of the upload using TripalTestSuite. Specifically, I've included a short example file with no difficult lines as a first test. For each line in the file, I check there exists
Testing?
To test you need to set up TripalTestSuite in your clone then just run
./vendor/bin/phpunit
in the analyzedphenotypes directory and check the tests pass.Please do a code review as well :-)