CGI Testing: Difference between revisions

From genomewiki
Jump to navigationJump to search
m (separating out hgTrackUi so that I can add more details)
(→‎hgTrackUi: adding tracks that are good to always test. saving and will be adding more info in next save)
Line 6: Line 6:


==hgTrackUi==
==hgTrackUi==
# to check hgTrackUis, start from the "Track/Assebmly Overview" from the QA portal here (don't forget to click on the number of the machine that you are testing)
# there are a couple of tracks to always check since they are well used and sometimes fragile:
# click on random tracks to check them
## Conservation (hg18, hg19, mm9) -
### test all aspects and buttons of the mutliz track, including codon frames
### use this as an opportunity to test all aspects of a wiggle track
### try filtering by score
## SNPs (hg18, hg19) -
### test that adding different gene prediction tracks do change the details page for individual SNPs
### test either the Minimum Average Heterozygosity or Maximum Weight filtering
### test the filtering by attribute
### test color specification, including changing the color for a specification
## ENCODE track (hg18, hg19) -
### test that there is a coorespondance between the matrix and the list of tracks when you turn on or off different tracks, including the graying out of boxes in the matrix


==hgGene==
==hgGene==

Revision as of 18:10, 3 December 2010

Before testing your CGIs, check the version notes for recent changes particular to your CGIs. Pay extra attention to the changes when testing.

hgTracks, hgc

  1. The TrackCheck robot checks this pretty thoroughly
  2. manually check anything that has been an issue during the past 2-week release cycle

hgTrackUi

  1. there are a couple of tracks to always check since they are well used and sometimes fragile:
    1. Conservation (hg18, hg19, mm9) -
      1. test all aspects and buttons of the mutliz track, including codon frames
      2. use this as an opportunity to test all aspects of a wiggle track
      3. try filtering by score
    2. SNPs (hg18, hg19) -
      1. test that adding different gene prediction tracks do change the details page for individual SNPs
      2. test either the Minimum Average Heterozygosity or Maximum Weight filtering
      3. test the filtering by attribute
      4. test color specification, including changing the color for a specification
    3. ENCODE track (hg18, hg19) -
      1. test that there is a coorespondance between the matrix and the list of tracks when you turn on or off different tracks, including the graying out of boxes in the matrix

hgGene

  1. Heather has a robot to check this CGI
  2. test one known gene - click off-site, check entire page
  3. test all possible paths among KG, PB, GS, VG (not that you wind up in mouse VG and need to use "Other Species" to get back to human.)

hgNear

  1. use the test protocol for Gene Sorter from the QA portal

hgCustom

  1. Test all three methods of entering a CT: typed in, uploaded by file, URL.
  2. Test editing, deleting, adding, updating, HTML docs, etc.
  3. Test adding mutiple tracks at once (multiple tracks in one file, multiple URLs, and pasting in mutiple tracks)
  4. Test CTs in relation to the Table Browser.

hgVisiGene

  1. test the search box by entering a gene name
  2. check the zoom buttons
  3. check that the "Gene" link opens the correct gene details page, and that that "visiGene" link in that gene details page retrieves the correct images in visiGene
  4. pick an image and check all of the links for that page
  5. for images composed of several smaller images, check that the pane descriptions are displaying correctly (not all panes will have an associated pane description)
  6. (Note: the images from Mahoney are a subset of the MGI/Jax images. The Mahoney images should list two sources and should show two sets of acknowledgements.)

hgTables

  1. check all drop-downs
  2. press on summary/stats button
  3. do an intersection with a couple of different output formats
  4. make sure filtering is functioning
  5. create a custom track in the browser
  6. check all output formats
  7. try sending output to Galaxy and GREAT; make sure checkboxes stay checked when applying filters, etc.
  8. do a subtrack merge (select a table from a composite track to get the option)
  9. do a correlation
  10. try defining regions

hgPal

  1. check a "Protein FASTA" click-through from a UCSC Gene details page
  2. check a "CDS FASTA" click-through from a RefSeq Genes details page
  3. using the Table Browser, choose "CDS FASTA" as the output format (this should work for any genePred track)
  4. check that different settings give expected results

hgBlat

  1. perform both a nucleotide and a protein search with default settings
  2. make sure colors listed in description section are right
  3. zoom in on an alignment and test "View details of parts of alignment within browser window"
  4. try different sorts and output types
  5. make sure all the buttons work, including uploading a file
  6. try uploading a file with too many bases or too many queries and verify error message

hgPcr

  1. test some perfectly matching primers, including a pair on the negative strand
  2. find a pair of primers that shouldn't match UCSC Genes and test that they don't
  3. vary settings and input primers for several assemblies and see if results make sense
  4. for human and mouse browsers, test the "UCSC Genes" target. Check that UI functions as expected
  5. check that the UI functions as expected for regular primers as well

hgLiftOver, hgConvert

  1. Choose an assembly and go to hgTracks
  2. Hit "Convert" in the blue bar at the top of the page
  3. Compare the output to the same conversion using liftOver:
  4. LiftOver is at Home -> Utilities -> Batch Coordinate Conversion (liftOver)
  5. Test both position and BED format
  6. Test a variety of settings
  7. Try converting multiple positions at once
  8. Try uploading a file

pbGateway, pbGlobal, pbTracks

  1. general testing; click around
  2. enter a protein symbol
  3. review results page
  4. click into pbGlobal and check display

hgSession

  1. check that a new session can be saved
  2. check that old sessions are still there
  3. delete a session
  4. check browser & email button; click the title of session & make sure you can save changes to the description
  5. try loading a session via a file and via a URL
  6. logout and try to load a session that can be shared and one that can't be shared

hgGenome

  1. find it by going Home -> Genome Graphs
  2. upload a dataset from a file
  3. upload a data set from a URL
  4. import data from a track
  5. change some configurations
  6. check that "browse regions" & "sort genes" work
  7. check the correlate button

Some good genome graph data for testing: http://hgwdev.cse.ucsc.edu/~rhead/genomeGraphsWithColumns

cartDump, cartReset

  1. check cart
  2. reset cart
  3. check cart again

See also: cart test protocol

hgApi

This CGI is responsible for the metadata "..." links on the hgTrackUi page and the "metadata" links on the hgc details pages of composite tracks with metadata.

  1. click on a "..." link and check that it opens up - no need to check the content. You only need to test one "..." link - if hgApi is broken, it will break all "..." links.
  2. This CGI can also be tested by clicking on a "meatadata" link in hgc details and check that it opens up - no need to check the content.

Probably doing 1 or 2 is sufficient, but it is a good habit to have the testers of hgTrackUi and hgc check 1 and 2 respectively, that way we are double covered in case one person forgets.

hgEncodeVocab

  1. Go to an ENCODE track, most matrix headers should be links. Click on them, should take you to a page with a row of info about the term.
  2. Go to a couple of these pages and check that the sections are displaying (these pages use hgEncodeVocab to display the info on them):