Skip to content

Conversation

alex-hhh
Copy link
Collaborator

@alex-hhh alex-hhh commented Jul 24, 2020

Migrate the plot tests which generate plots to save and verify the draw steps using the method introduced in 05ac34e (pull request #62)

From this migration experience, the following updates were made to the test method:

  • test data files are now compressed using gzip as some of the plots generated files larger than 10Mb

  • the plots are updated in-place, rather than moving them to a separate folder (named "auto"), this allows for easier inspection of a file' history (the ci.yml file was updated to upload new files from all sub-directories of the "plot-test" package)

  • the test run in ci.yml now runs all the files, even if they don't have a test module -- some of the plot tests already used rackunit, but the tests were not in a seprate submodule, these tests are now running in Github Actions (they were already running in DrDr)

  • some of the tests were not moved, and were left as they were -- these require a GUI visualization (e.g. the animation or slideshow tests), and they don't fit in this test model.

Migrate the plot tests which generate plots to save and verify the draw steps
using the method introduced in 05ac34e (pull
request racket#62)

From this migration experience, the following updates were made to the test
method:

* test data files are now compressed using `gzip` as some of the plots
  generated files larger than 10Mb

* the plots are updated in-place, rather than moving them to a separate folder
  (named "auto"), this allows for easier inspection of a file' history (the
  ci.yml file was updated to upload new files from all sub-directories of the
  "plot-test" package)

* the test run in ci.yml now runs all the files, even if they don't have a
  test module -- some of the plot tests already used rackunit, but the tests
  were not in a seprate submodule, these tests are now running in Github
  Actions (they were already running in DrDr)

* some of the tests were not moved, and were left as they were -- these
  require a GUI visualization (e.g. the animation or slideshow tests), and
  they don't fit in this test model.
@alex-hhh alex-hhh merged commit 3415fc6 into racket:master Aug 1, 2020
@alex-hhh alex-hhh deleted the ah/migrate-tests branch August 1, 2020 05:00
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

Successfully merging this pull request may close these issues.

1 participant