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

Review all tests against 'testserver' #67

Open
c5sire opened this issue Dec 3, 2018 · 1 comment
Open

Review all tests against 'testserver' #67

c5sire opened this issue Dec 3, 2018 · 1 comment
Assignees

Comments

@c5sire
Copy link
Contributor

c5sire commented Dec 3, 2018

√ | OK F W S | Context
√ | 3 | ts germplasm breedingmethods [0.9 s]
√ | 4 | ts germplasm breedingmethods details [0.4 s]
√ | 3 | ts calls [0.4 s]
√ | 3 | ts commoncropnames [0.4 s]
√ | 0 | ts crops
√ | 2 | ts genomemaps [0.3 s]
√ | 4 | ts genomemaps_data [0.5 s]
√ | 4 | ts genomemaps_data_range [0.5 s]
√ | 4 | ts genomemaps_details [0.5 s]
√ | 4 | ts germplasm_attributes [0.6 s]
√ | 4 | ts germplasm_details [0.6 s]
√ | 0 | ts germplasm_details_study
√ | 4 | ts germplasm_markerprofiles [0.6 s]
√ | 5 | ts germplasm_pedigree [0.6 s]
√ | 6 | ts germplasm_progeny [0.6 s]
√ | 4 | ts germplasm_search [0.7 s]
√ | 4 | ts germplasm_search_post [0.7 s]
√ | 6 | ts germplasm attributes [0.6 s]
√ | 1 | ts germplasmattributes_categories [0.1 s]
√ | 2 | ts locations [0.3 s]
√ | 5 | ts locations details [0.6 s]
√ | 1 | ts markerprofiles_allelematrices_search [0.2 s]
√ | 1 | ts markerprofiles_allelematrices_search_post [0.2 s]
√ | 1 | ts markerprofiles_allelematrices_details [0.1 s]
√ | 0 1 | ts markerprofiles_allelematrix_search

test_ts_markerprofiles_allelematrix_search.R:7: skip: Calls are present
Deprecated as of BrAPI version 1.2

/ | 0 | ts markerprofiles_detailsError in attr(out, "metadata") <- meta :
attempt to set an attribute on NULL
| | 2 1 | ts markerprofiles_detailsError in attr(out, "metadata") <- meta :
attempt to set an attribute on NULL
x | 2 2 | ts markerprofiles_details [0.5 s]

test_ts_markerprofiles_details.R:8: failure: are present
x isn't true.

test_ts_markerprofiles_details.R:21: failure: out formats work
x isn't true.

x | 0 1 | ts markerprofiles_search [0.2 s]

test_ts_markerprofiles_search.R:8: failure: Calls are present
x isn't true.

x | 0 1 | ts markers_details [0.1 s]

test_ts_markers_details.R:8: failure: Calls are present
x isn't true.

√ | 4 | ts markers_search [0.7 s]
√ | 4 | ts markers_search_post [0.6 s]
√ | 1 | ts observationvariables_datatypes [0.1 s]
√ | 4 | ts observationvariables [0.8 s]
√ | 5 | ts observationvariables_details [0.6 s]
√ | 1 | ts observationvariables_ontologies [0.1 s]
√ | 5 | ts observationvariables_search_post [0.7 s]
/ | 0 | ts phenotypes_search_postError : parse error: premature EOF

                 (right here) ------^

x | 1 1 | ts phenotypes_search_post [0.3 s]

test_ts_phenotypes_search_post.R:9: failure: are present
nrow(res) >= 154 isn't true.

√ | 2 | ts programs [0.3 s]
√ | 1 | ts programs_search_post [0.1 s]
√ | 2 | ts samples [0.3 s]
√ | 7 | ts samples_search [1.5 s]
x | 5 2 | ts samples_search_post [1.0 s]

test_ts_samples_search_post.R:13: failure: Samples are present
nrow(res) >= 3 isn't true.

test_ts_samples_search_post.R:25: failure: Samples are present
nrow(res) >= 3 isn't true.

√ | 4 | ts studies_details [0.6 s]
√ | 4 | ts studies_germplasm_details [0.6 s]
√ | 2 | ts studies_layout [0.3 s]
√ | 2 | ts studies_observationlevels [0.3 s]
x | 0 1 | ts studies_observations [0.8 s]

test_ts_studies_observations.R:8: failure: Studies_observations are present
nrow(res) == 10 isn't true.

√ | 0 2 | ts studies_observationunits

test_ts_studies_observationunits.R:7: skip: Studies_details are present
Under revision

test_ts_studies_observationunits.R:16: skip: Output is transformed
Under revision

√ | 1 | ts studies_observationunits_save [0.1 s]
√ | 4 | ts studies_observationvariables [0.8 s]
√ | 4 | ts studies_search_get - Test-server does not work? [0.7 s]
√ | 4 | ts studies_search_post - Test-server does not work? [0.6 s]
√ | 2 | ts studies_seasons [0.3 s]
√ | 2 | ts studies_studytypes [0.3 s]
√ | 0 1 | ts studies_table

test_ts_studies_table.R:7: skip: Studies_table are present
Not yet properly implemented.

√ | 3 | ts traits [0.5 s]
/ | 0 | ts traits_detailsError : $ operator is invalid for atomic vectors
x | 1 1 | ts traits_details [0.1 s]

test_ts_traits_details.R:8: failure: Traits_details are present
x isn't true.

√ | 3 | ts trials [0.5 s]
√ | 2 | ts trials_details [0.3 s]
√ | 2 | ts vendor_plates_details [0.3 s]
√ | 2 | ts vendor_plates_search [0.3 s]
√ | 2 | ts vendor_plates_search_post [0.3 s]
x | 0 1 | ts vendor_specifications [0.2 s]

test_ts_vendor_specifications.R:7: error: Vendor specifications are present
lexical error: invalid char in json text.
<!doctype html>
(right here) ------^
1: ba_vendor_specifications(con = con) at tests/testserver/test_ts_vendor_specifications.R:7
2: tryCatch({
resp <- brapiGET(url = callurl, con = con)
cont <- httr::content(x = resp, as = "text", encoding = "UTF-8")
out <- dat2tbl(cont, rclass, result_level = "result")
if (!is.null(out)) {
class(out) <- c(class(out), "ba_vendor_specifications")
}
return(out)
}) at C:/Users/rsimon/Documents/brapi/R/ba_vendor_specifications.R:23
3: tryCatchList(expr, classes, parentenv, handlers)
4: dat2tbl(cont, rclass, result_level = "result") at

@c5sire c5sire self-assigned this Dec 3, 2018
@c5sire
Copy link
Contributor Author

c5sire commented Dec 3, 2018

Many changes need: current version is 1.3. A total of 105 calls. Including new ones for images. Reorganized pathes, deprecated parameters, etc.

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

No branches or pull requests

1 participant